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?