Hello Yuanliu, Thanks so much for your suggestion. This is getting close. I did have to change the first "span=1s" to something greater than 1m in order to get any results. Most likely because the "Query" total (and other DNS stats) are only logged once every 5 minutes with the totals for the past five minutes. As you mentioned this does not give the connection points in the graph so I had a thought; what if I use this query to generate a list of sites to use in my original query. Something like this: index=metrics host=*
| rex field=host "^(?<host>[\w\d-]+)\."
| lookup dns.csv sd_hostname AS host
| search Site IN (*)
| bin _time span=5m
| stats values(Query) as QPS by Site _time
| bin _time span=5m
| stats avg(QPS) as QPS by Site _time
| streamstats window=2 global=false current=true stdev(QPS) as devF by Site
| sort Site, - _time
| streamstats window=2 global=false current=true stdev(QPS) as devB by Site
| where 4*devF > QPS OR devB*4 > QPS
| table Site | dedup Site | mvcombine Site delim=","
| nomv Site This gives a CSV list of sites to search: Site austx.1,snavtx.1 I am using Dashboard Studio and I'm trying to figure out how to chain these results as a variable in my original search ...
| search Site IN ($my-csv-list-from-above$)
...+ but so far I have not figured that out. Let me know if you have suggestions. Thanks again for your help!
... View more