Templating top 10 values in elasticsearch

{“find”:“terms”,“field”:“country.keyword”,“query”: “?”}

Just needs an elasticsearch query which can fetch the top 10 countries ordered by ‘Doc Count’.


Don’t think that’s supported. Please use Grafana github repository and check if there already is any open/closed issues with your requirement. If not you’re welcome to create a new feature request issue.