No Compatible Fields: The news* index pattern does not contain any of the following field types: geo_point

I am having issues getting geo_points to show up in kibana :frowning:

Following this guide: https://www.elastic.co/guide/en/elasticsearch/reference/6.7/search-aggregations-bucket-geohashgrid-aggregation.html

1. I created an index with a mapping PUT request:

  1. Bulk added the fields and verified there existence in kibana

  1. Not look at the "Visualization" tab and still see this error message:

Related topic but didn't help me: Index pattern does not contain any of the following field types: geo_point

Any help would be great!

That first image doesn't appear to have anything to do with mapping, it's just creating some documents?

Oh weird, it double the second image. It should be correct now.

What does a GET news/_mapping show?

{
  "news" : {
    "mappings" : {
      "_doc" : {
        "properties" : {
          "location" : {
            "type" : "geo_point"
          }
        }
      }
    }
  }
}

That appears to be missing the name field, are you sure that is the same index you are looking at in Kibana?

My apologies, I deleted the elements and recreated here is the mapping:

{
  "news" : {
    "mappings" : {
      "_doc" : {
        "properties" : {
          "location" : {
            "type" : "geo_point"
          },
          "name" : {
            "type" : "text",
            "fields" : {
              "keyword" : {
                "type" : "keyword",
                "ignore_above" : 256
              }
            }
          }
        }
      }
    }
  }
}

That looks fine.
Hav you tried resetting the index mappings in Kibana?

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