Geo_Point field for mapping

hey , im tryin g to create and have and geo_point field to create a map visualisation , but im finding difficulties , my Lat and Long fields that i extracted previously from Geoip filter on My configuration file are float
any solutions please to create the Geo_point field and convert Lat Long field in the geopoint if its possible?
PS: im using the 8.6 version

MY Logstash config :

My Template setting on console
Template on Console

Hi @Abdeljalil_El_Yousso,
You are on the right track by using geoip filter. I think the piece you are missing is the correct mapping setting. It's tripped me up before as well. Try:

"geoip": {
      "type": "object",
      "properties": {
        "ip": {
          "type": "ip"
        },
        "location": {
          "type": "geo_point"
        }
      }
1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.