Templating using Elastic search datasource

I want to get the hostnames from ES datasourse.

I have a field like below for LOAD average. please help me on how to query and get the list of hostnames in templating.

@timestamp
@version
Hostname
Mtype
_id
_index
_score
_type
date_time
host
ldavg_1
ldavg_15
ldavg_5
message

thanks,
Sridhar. B

Hi,

Please refer to the using elasticsearch in grafana documentation.

Marcus