Skip to content

Commit 766d08c

Browse files
committed
Adding Elasticsearch in supported databases
1 parent e28dc59 commit 766d08c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Supported Databases:
1414
- InfluxDB
1515
- OpenTSDB
1616
- Prometheus
17+
- Elasticsearch
1718

1819
Included location data:
1920

@@ -41,6 +42,12 @@ The Group By clause should be the country code and an alias is needed too. The a
4142

4243
![Influx Query for Countries](https://raw.githubusercontent.com/grafana/worldmap-panel/master/src/images/influx-query.png)
4344

45+
#### Elasticseach Query for Countries
46+
47+
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).
48+
49+
![Elasticsearch Query for Countries](https://raw.githubusercontent.com/grafana/worldmap-panel/master/src/images/elasticsearch-query.png)
50+
4451
#### Map Data Options for Time Series Data
4552

4653
Under the Worldmap tab, choose either the `countries` or `states` option.

src/images/elasticsearch-query.png

105 KB
Loading

0 commit comments

Comments
 (0)