Kibana does not interpret properly geopoint object fields


(Michael Tsikerdekis) #1

I was looking at this guide:
https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html

And used the following official code from the page above to create an example doc with the example index:

PUT my_index/_doc/1 { "text": "Geo-point as an object", "location": { "lat": 41.12, "lon": -71.34 } }

When I attempt to view a visualization it says that I have no geohash fields but according to the record that I created this should work since geopoints can be objects.

I use 6.5.1 version for ELK.


(Mark Walkom) #2

The best way to make sure that works is to create the mapping before putting data in the index. So it knows that's a geopoint.