Can't query elasticsearch data source from grafana

Here are the docs for using Elasticsearch with Grafana.

Here is a demo dashboard: http://play.grafana.org/dashboard/db/elasticsearch-metrics?orgId=1

There are a few things you can check:

  • Are your data source settings correct? Elasticsearch version, Time Field name (is it mydate or @mydate), index name and Group by time interval:

  • If you inspect the raw query and result, does the query look correct and what does the result look like. Here’s a guide to troubleshooting queries