Grafana templating for elastic search data source

So suppose my doc is like
doc -1 { users:[“mike”,“john”,“lynn”] } ,
doc- 2 {users:[“amanda”,“rim”]}
many …
so want to create templating where list out all user with unique name . so how can i do this when value in array .
actually when i fire {“find”:“terms”,“field”:“user”} query then its saw me below image .

but i want individual user to saw not array .
grafanaissue

Hi,

That’s not currently supported as far as I know.

Marcus

means i can not fire pure elastic search rest call . we enforce to fire only lucene query in grafana.
if you know about how we can use tradition elastic search rest call in grafana please give me a few example about .
Thanks for help .

Hi,

Please have a look at Simple JSON Datasource plugin.

Marcus