Query to Restrict to Top 10 metrics

We are using Grafana 6.3.5
Influx Db 1.7.8.
We are trying to visualize Top Highly used VM’s for a specific Data Center .
We are using LIMIT option but however we don’t see the number of values getting restricted in the graph.

Is there a query to only restrict the view for Top 10 or 20 Vm’s rather than showing all the Vm’s which are not necessary !!


I would check the results of the query in the Influx CLI or a raw data view. You should only be getting 10 results back if you are using LIMIT. There might be some strange behavior on Grafana’s side or the query could not be doing what you expect.