Grafana-Elasticsearch WorldMap popup hash

I added Elasticsearch (5.x) data source in Grafana, and I installed the WorldMap plugin.

As I started plotting data, I noticed that when I hover over the point in the map it shows with some sort of hash “dpz3j: ”

How do I change the dpz3j and put like a city name from an elastic search field.

04 PM


You need to provide a Location Name, see world map panel readme:

Three fields need to be provided by the ElasticSearch query:

  • A metric. This is free text and should match the aggregation used (Count, Average, Sum, Unique Count etc.)
  • Location Name (optional - geohash value will be shown if not chosen)
  • geo_point field that provides the geohash value.