# Unable to plot map on kibana

**URL:** <https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145>\
**Category:** Kibana\
**Created:** [May 15, 2019, 10:27am UTC](https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145 "2019-05-15T10:27:47Z")\
**Posts on this page:** 6\
**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 15, 2019, 10:27am UTC](https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145/1 "2019-05-15T10:27:48Z")

</div>

Even though I have done the mapping on kibana still i am not able to plot the geo locations.

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

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [May 15, 2019, 2:23pm UTC](https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145/2 "2019-05-15T14:23:05Z")

</div>

@Vikash_Singh1

- what is the mapping of your index-pattern? That `location` field should be a `geo_point` containing a valid lon/lat.
- is there data within the time-range?
- if you open the inspector (`Inspect` link on the top), what does the request and response show? do you get results back from Elasticsearch for that query?

---

<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 16, 2019, 5:08am UTC](https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145/3 "2019-05-16T05:08:44Z")

</div>

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

- Yes there are data within the time range and I have increased the time range

- I am pasting the screenshot of output after checking the inspect section

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [May 16, 2019, 1:30pm UTC](https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145/4 "2019-05-16T13:30:58Z")

</div>

the results for that query are empty. what do you see for the location field when you open up a document within that time-range in Discover?

---

<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 17, 2019, 4:26am UTC](https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145/5 "2019-05-17T04:26:14Z")

</div>

There is no such fields known as location:

 ![plot](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06527a3a7a1bc56a71c79a48273992847551068a.png)  
Below also there is referrer response and timestamp...but there is no any field know as location..p.s help me this problem

---

<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 14, 2019, 4:26am UTC](https://discuss.elastic.co/t/unable-to-plot-map-on-kibana/181145/6 "2019-06-14T04:26:19Z")

</div>

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