The index pattern does not contain any of the following compatible field types: geo_point

I think i have done everything correctly. However, the error The index pattern does not contain any of the following compatible field types: geo_point is still there.

***** My filter part was like that: (in logstsh conf file) *****

filter {
csv {
separator => ","

  mutate {
  add_field => [ "[geoip][coordinates]", "%{[geoip][longitude]}" ]
  add_field => [ "[geoip][coordinates]", "%{[geoip][latitude]}"  ]
}
mutate {
  convert => [ "[geoip][coordinates]", "float"]
}

***** My template was like that: *****

PUT _template/indexname
{
     "index_patterns": "indexname*",
     "settings": {
     "number_of_shards": 1
},
       "mappings": {
       "_source": {
       "enabled": false
},
      "properties": {
        "geoip":{
           "properties":{
              "coordinates":{
                "type": "geo_point"
     }
    }
   }
  }
 }
}

is there any way to fix my code to be able to deal with geo_point in map coordinates in kibana?

thanks

Have you made an index pattern in Kibana for your elasticsearch index?

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