# GeoIp don't draw

**URL:** <https://discuss.elastic.co/t/geoip-dont-draw/155422>\
**Category:** Kibana\
**Created:** [November 5, 2018, 3:30pm UTC](https://discuss.elastic.co/t/geoip-dont-draw/155422 "2018-11-05T15:30:47Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alvaro\_Jimenez\_Carri](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Alvaro\_Jimenez\_Carri](https://discuss.elastic.co/u/Alvaro_Jimenez_Carri)\
**Post date:** [November 5, 2018, 3:30pm UTC](https://discuss.elastic.co/t/geoip-dont-draw/155422/1 "2018-11-05T15:30:47Z")

</div>

Hi,

I'm trying to get a map visualize but kibana don`t show me anything for "coordinate map" and show me the next error for "region maps":

> Ensure that each of these term matches a shape on that shape's join field: 200, 301, 404, 409

I receive geoip data from filebeat in elasticsearch logs.

I left here geoip mapping in the elasticsearch index and my logstash filter conf:

> <https://gist.github.com/acarrill/a114a73f3c09a473cd4f161949d1ac0d>

I have to mention that I had to add the location field manually from kibana dev tools.

Thank you so much!

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [November 5, 2018, 4:23pm UTC](https://discuss.elastic.co/t/geoip-dont-draw/155422/2 "2018-11-05T16:23:30Z")

</div>

Hello Alvaro,

For the region map, Kibana will expect a reference vector file based with which to share a key for an inner join, for reference see this:

[https://www.elastic.co/guide/en/kibana/current/regionmap.html](https://www.elastic.co/guide/en/kibana/current/regionmap.html)

For a good practical run-through, see this blog:

> **[Custom Region Maps in Kibana 6.0
	  	 | Elastic](https://www.elastic.co/blog/custom-region-maps-in-kibana-6-0)**
>
> Grab Your CartometersIn Kibana 5.5 we added the ability to define your own region maps, which are also also known as choropleth maps. This allows users to define custom geo-boundaries as geojson forma...

Having said that, I think a coordinate map is likely what you're looking for here. Regarding your mapping, you'll want to target the geo-point type rather than lat/long floats. You can find more information about this type here:

[https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html)

Once you've loaded your data containing geo-points, you should have no issues displaying them in a Kibana Coordinate Map.

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![Alvaro\_Jimenez\_Carri](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Alvaro\_Jimenez\_Carri](https://discuss.elastic.co/u/Alvaro_Jimenez_Carri)\
**Post date:** [November 5, 2018, 5:14pm UTC](https://discuss.elastic.co/t/geoip-dont-draw/155422/3 "2018-11-05T17:14:10Z")

</div>

Hi Aaron,

I have been looking all documentation u posted, it's looks like I need to change location type to geo\_point but I don't find the way to do that. I read that I need reindex, however I only found it applied to change index type and not field type and I haven't very clear how apply it to type of fields changes. I'm new with elk and I'm a little bit loose, I'm sorry and very tankful for the help.

Regards,  
Álvaro.

---

<div class="post-metadata">

**Author:** ![Aaron\_Caldwell](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aaron_caldwell/32/45755_2.png) [@Aaron\_Caldwell](https://discuss.elastic.co/u/Aaron_Caldwell)\
**Post date:** [November 5, 2018, 8:54pm UTC](https://discuss.elastic.co/t/geoip-dont-draw/155422/4 "2018-11-05T20:54:40Z")

</div>

I'd recommend re-indexing your data. You'll probably want to walk through both indexing and mappings (mappings will cover specifying field types, such as geo\_point). Here are a couple of resources to get you started:

> **[A Practical Introduction to Elasticsearch](https://www.elastic.co/blog/a-practical-introduction-to-elasticsearch)**
>
> Ready to try Elasticsearch and see results? Copy and paste these requests to get started.

  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html)

I believe this would be the easiest way to update your data, and it would give you a better pattern to follow moving forward.

Regards,  
Aaron

---

<div class="post-metadata">

**Author:** ![Alvaro\_Jimenez\_Carri](https://avatars.discourse-cdn.com/v4/letter/a/e8c25b/32.png) [@Alvaro\_Jimenez\_Carri](https://discuss.elastic.co/u/Alvaro_Jimenez_Carri)\
**Post date:** [November 6, 2018, 3:19pm UTC](https://discuss.elastic.co/t/geoip-dont-draw/155422/5 "2018-11-06T15:19:23Z")

</div>

Hi Aaron,

Thanks a lot by your answers, I have already all running.

Greetings.  
Álvaro

---

<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:** [December 4, 2018, 3:19pm UTC](https://discuss.elastic.co/t/geoip-dont-draw/155422/6 "2018-12-04T15:19:43Z")

</div>

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