# No Compatible Fields: types: geo\_point

**URL:** <https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151>\
**Category:** Elasticsearch\
**Created:** [June 24, 2018, 3:17pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151 "2018-06-24T15:17:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![teoman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teoman/32/32372_2.png) [@teoman](https://discuss.elastic.co/u/teoman)\
**Post date:** [June 24, 2018, 3:17pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/1 "2018-06-24T15:17:20Z")

</div>

I am following practices below;

I am using both Elasticsearch & Kibana version 6.2.1

> **[Loading Sample Data | Kibana User Guide \[6.3\] | Elastic](https://www.elastic.co/guide/en/kibana/6.3/tutorial-load-dataset.html)**

I followed instructions as below;

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c83b45ef1b2cc7edf87aa56f0cf5d325cf595eef.png)

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/d/9d744dcb12b20c9f347254ed709c1afcc9b92f43.png)

But, I am getting following error:

> No Compatible Fields: The "logstash\*" index pattern does not contain any of the following field types: geo\_point

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/3/6/36fb80f0841caca3ca7f5ab3ffe565e7db968a9b.png)

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

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 24, 2018, 3:29pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/2 "2018-06-24T15:29:17Z")

</div>

What gives:

```
GET logstash-*/_mapping
```

---

<div class="post-metadata">

**Author:** ![teoman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teoman/32/32372_2.png) [@teoman](https://discuss.elastic.co/u/teoman)\
**Post date:** [June 24, 2018, 3:38pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/3 "2018-06-24T15:38:23Z")

</div>

Hi @dadoonet

Here is the output: [https://gist.github.com/reyou/40ab77b390f9d7e16bf6d27bb180654f](https://gist.github.com/reyou/40ab77b390f9d7e16bf6d27bb180654f)

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 24, 2018, 5:02pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/4 "2018-06-24T17:02:37Z")

</div>

Did you look at it?

```auto
          "geo": {
            "properties": {
              "coordinates": {
                "properties": {
                  "lat": {
                    "type": "float"
                  },
                  "lon": {
                    "type": "float"
                  }
                }
              },

```

We can clearly see that your mapping is wrong here.

---

<div class="post-metadata">

**Author:** ![teoman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teoman/32/32372_2.png) [@teoman](https://discuss.elastic.co/u/teoman)\
**Post date:** [June 24, 2018, 5:53pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/5 "2018-06-24T17:53:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![teoman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teoman/32/32372_2.png) [@teoman](https://discuss.elastic.co/u/teoman)\
**Post date:** [June 24, 2018, 6:14pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/6 "2018-06-24T18:14:17Z")

</div>

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:

> <https://gist.github.com/reyou/a0b77761ac3bfd0c2df41fc909c4b62a>

And when I try to create Coordinate map by following example, I am still getting same error.  
[https://www.elastic.co/guide/en/kibana/6.3/\_coordinate\_map.html](https://www.elastic.co/guide/en/kibana/6.3/_coordinate_map.html)

Is there anything I can try?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/e/0e7537b944480d92815c61355d2d0151cb1cbf67.png)

---

<div class="post-metadata">

**Author:** ![tdasch](https://avatars.discourse-cdn.com/v4/letter/t/58f4c7/32.png) [@tdasch](https://discuss.elastic.co/u/tdasch)\
**Post date:** [June 24, 2018, 6:47pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/7 "2018-06-24T18:47:20Z")

</div>

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"
        }
      }
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![teoman](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/teoman/32/32372_2.png) [@teoman](https://discuss.elastic.co/u/teoman)\
**Post date:** [June 24, 2018, 7:07pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/8 "2018-06-24T19:07:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 22, 2018, 7:18pm UTC](https://discuss.elastic.co/t/no-compatible-fields-types-geo-point/137151/9 "2018-07-22T19:18:28Z")

</div>

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