No Compatible Fields: types: geo_point

(teoman shipahi) #1

I am following practices below;

I am using both Elasticsearch & Kibana version 6.2.1

I followed instructions as below;

But, I am getting following error:

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

Am I missing something here? How can I resolve this error?

(David Pilato) #2

What gives:

GET logstash-*/_mapping

(teoman shipahi) #3

Hi @dadoonet

Here is the output:

(David Pilato) #4

Did you look at it?

          "geo": {
            "properties": {
              "coordinates": {
                "properties": {
                  "lat": {
                    "type": "float"
                  "lon": {
                    "type": "float"

We can clearly see that your mapping is wrong here.

(teoman shipahi) #5

I see. I don't know what would went wrong while I initially PUT mappings.
So should I delete and re-create?

(teoman shipahi) #6

I deleted my logstash* indexes. Then first created mapping, and run following command;

Invoke-RestMethod "http://localhost:9200/_bulk?pretty" -Method Post -ContentType 'application/x-ndjson' -InFile "./sampleDatas/logs.jsonl"

And here is my GET logstash-*/_mapping again:

And when I try to create Coordinate map by following example, I am still getting same error.

Is there anything I can try?

(Thomas Dasch) #7

What are inputting when you create the mapping? For geo_point to work you need something such as

PUT my_index
  "mappings": {
    "_doc": {
      "properties": {
        "location": {
          "type": "geo_point"

(teoman shipahi) #8

OK After I delete/create index and restart kibana, it is picking up the value. Thanks!

(system) #9

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