# Error when using coordinate map visualization

**URL:** <https://discuss.elastic.co/t/error-when-using-coordinate-map-visualization/111175>\
**Category:** Elasticsearch\
**Created:** [December 11, 2017, 8:43pm UTC](https://discuss.elastic.co/t/error-when-using-coordinate-map-visualization/111175 "2017-12-11T20:43:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![robscott27](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@robscott27](https://discuss.elastic.co/u/robscott27)\
**Post date:** [December 11, 2017, 8:43pm UTC](https://discuss.elastic.co/t/error-when-using-coordinate-map-visualization/111175/1 "2017-12-11T20:43:40Z")

</div>

I'm looking to plot out locations on and built a coordinate map visualization and that works. Mostly. While the map displays the locations, every time the visualization is called up or refreshed, I get the following error:

org.elasticsearch.index.query.QueryShardException: failed to find geo\_point field [apache2.access.geoip.location]

...but it's still mapping out the data. I've checked the type for that field and it is indeed set as a geo\_point type. Any ideas on how to fix this?

---

<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:** [December 11, 2017, 8:54pm UTC](https://discuss.elastic.co/t/error-when-using-coordinate-map-visualization/111175/2 "2017-12-11T20:54:35Z")

</div>

Maybe there are some indices with the wrong mappings?  
What does the Elasticsearch log show, it should mention a specific index name.

---

<div class="post-metadata">

**Author:** ![robscott27](https://avatars.discourse-cdn.com/v4/letter/r/858c86/32.png) [@robscott27](https://discuss.elastic.co/u/robscott27)\
**Post date:** [December 11, 2017, 9:20pm UTC](https://discuss.elastic.co/t/error-when-using-coordinate-map-visualization/111175/3 "2017-12-11T21:20:35Z")

</div>

-sighs- Thank you. It's been a long day.

While I got the error, I assumed it only had to do with the most recent index. Going further up the log file, it's pulling an older index which does not have that field populated. Not sure why from the four days ago if I only want the last hour or four hours.

Thank you. Lesson: follow the log trail!

---

<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:** [January 8, 2018, 9:21pm UTC](https://discuss.elastic.co/t/error-when-using-coordinate-map-visualization/111175/4 "2018-01-08T21:21:02Z")

</div>

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