Hello !!
I can’t to create query on disk usage dashbord to viw all the machine usage using this query
LECT last(“used_percent”) FROM “disk” WHERE ((“host” = ‘1’ OR “host” = ‘2’ OR “host” = ‘3’ OR “host” = ‘4’ OR “host” = ‘5’) AND “path” = ‘/data’ ) AND $timeFilter GROUP BY time(1s), “path”, “fstype”, “device”, “host” fill(none)
It work very will for me but when I cant to get just the average of disk usage I don’t know how , I used function avg() but I got error " function not defined " , So have any one a solution to get the average of disk usage Please .
Thanks