grafana / worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
MIT License
311 stars 199 forks source link

can not show the geo location #115

Open VVduke opened 6 years ago

VVduke commented 6 years ago

Hi,all, Here is my elasticsearch document: "{ "_index": "dc-location", "_type": "location", "_id": "1", "_version": 2, "found": true, "_source": { "id": 2, "genre": 2, "dcName": "信息园", "location": { "geohash": "uxypuryrupcr" }, "date": "1512032296914" } }, And I configure the worldmap-panel ,metric:count,GroupBy:[terms:dcName],Then by:Geo Hash Grid:geoPoint,there is not any geo location show in the map,I just don`t know how to solve it,thank you~

edmondkong commented 6 years ago

Seems like you configured the metrics, did you also configure the map data options in the worldmap tab (shown below) ?

selection_007

Also ensure your Elasticsearch mapping for location.geohash field is correct, which should be "type": "geo_point".