07 Apr 2025 11:25 AM
Hello,
Hopefully a very quick simple question. Are Network Zones available in DQL?
We have our Google Clusters set to their own Network Zones and we are having to configure the Fallback setting. I was looking to write a DQL that would allow me see these settings rather than having to look at each Network Zone in turn vi the UI.
07 Apr 2025 12:35 PM
Hello,
Yes, network zones are available in DQL
07 Apr 2025 01:09 PM
What's the name of the DQL table?
08 Apr 2025 03:46 PM
Hello,
Here's how you can do it in DQL :
timeseries usage = avg(dt.host.cpu.usage, filter: { in(dt.entity.host, classicEntitySelector("type(host),networkZone(\"stlo\")")) }), by: { dt.entity.host }
| sort arrayAvg(usage) desc
| fieldsAdd entityName(dt.entity.host)
10 Apr 2025 02:10 PM
Thank you
But I'm looking to query the values of the properties of a Network Zone. e.g. Fallback Mode
10 Apr 2025 11:42 PM
@D_Miller Not sure you would be able to get fallback mode via DQL, it is available via API though