diff --git a/README.md b/README.md index 5b16797..bf9df78 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ Supported Databases: - InfluxDB - OpenTSDB - Prometheus +- Elasticsearch Included location data: @@ -41,6 +42,12 @@ The Group By clause should be the country code and an alias is needed too. The a ![Influx Query for Countries](https://raw.githubusercontent.com/grafana/worldmap-panel/master/src/images/influx-query.png) +#### Elasticseach Query for Countries + +Use a Group By clause on the field containing the country code and a Then by clause with Date Histogram by `@timestamp` (or corresponding date field). + +![Elasticsearch Query for Countries](https://raw.githubusercontent.com/grafana/worldmap-panel/master/src/images/elasticsearch-query.png) + #### Map Data Options for Time Series Data Under the Worldmap tab, choose either the `countries` or `states` option. diff --git a/src/images/elasticsearch-query.png b/src/images/elasticsearch-query.png new file mode 100644 index 0000000..2eef897 Binary files /dev/null and b/src/images/elasticsearch-query.png differ