I've used the geoip filter in logstash to get geo data from a remote IP Address. Now I have geo data appearing in elastic.
I want to be able to map these on a map chart and I don't understand how to do the next step. I know that I have to create a template in elastic to get a field of type geo_point but I'm not sure how exactly?
In elasticsearch I now have geoip.location.lat and geoip.location.lon which are both number field types. How do I now defined a field called geoip.location which is type geo_ip?
But all I have now is a new mapped field, I'm still getting geoip data but this location field isn't being used in new documents. How do I link latitude and longitude to this location field?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.