# Co-ordinate map not working

**URL:** <https://discuss.elastic.co/t/co-ordinate-map-not-working/183230>\
**Category:** Kibana\
**Created:** [May 29, 2019, 6:11am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230 "2019-05-29T06:11:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [May 29, 2019, 6:11am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/1 "2019-05-29T06:11:25Z")

</div>

Unable to use co-ordinate map function in kibana. It doesn't shows any error. Even in my elasticsearch indices all the fields are available but still still it doesn't plot..I am attaching the scrrenchot of indices and mapping of my logstash.

 ![plot](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06527a3a7a1bc56a71c79a48273992847551068a.png)

mapping is as follows:  
PUT \_template/logstash\_template  
{  
"index\_patterns": ["logstash\_squidlogs"],  
"settings": {  
"number\_of\_shards": 5  
},  
"mappings": {  
"doc": {  
"properties": {  
"location": {  
"type": "geo\_point"  
}  
}  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 29, 2019, 6:13am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/2 "2019-05-29T06:13:36Z")

</div>

> [@Vikash\_Singh1](#):
>
> "location": {  
> "type": "geo\_point"  
> }

You don't have that field in your data, only `geoip.location`.

---

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [May 29, 2019, 6:17am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/3 "2019-05-29T06:17:08Z")

</div>

Thanks for fast reply..So what should I do???shall I change  
"geoip.location":{  
"type":geo\_point  
}

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 29, 2019, 6:17am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/4 "2019-05-29T06:17:37Z")

</div>

How are you sending the data to Elasticsearch?

---

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [May 29, 2019, 6:17am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/5 "2019-05-29T06:17:54Z")

</div>

via logstash

---

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [May 29, 2019, 6:18am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/6 "2019-05-29T06:18:14Z")

</div>

I am using elk version 6.7.2

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 29, 2019, 6:18am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/7 "2019-05-29T06:18:29Z")

</div>

Well unless you are changing the index name, the default settings should all work.

---

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [May 29, 2019, 6:19am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/8 "2019-05-29T06:19:16Z")

</div>

Whenever I am using the default setting it says no compatible fields in geo-point

---

<div class="post-metadata">

**Author:** ![Vikash\_Singh1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vikash_singh1/32/42119_2.png) [@Vikash\_Singh1](https://discuss.elastic.co/u/Vikash_Singh1)\
**Post date:** [May 29, 2019, 6:41am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/9 "2019-05-29T06:41:39Z")

</div>

@warkolm can I also get help on this topic too...I am seriously stuck here..previously it was plotted easily I didn't have to change the default mapping for plotting

---

<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:** [June 26, 2019, 6:41am UTC](https://discuss.elastic.co/t/co-ordinate-map-not-working/183230/10 "2019-06-26T06:41:41Z")

</div>

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