# Map - Only bucket shape field available

**URL:** https://discuss.elastic.co/t/map-only-bucket-shape-field-available/192697
**Category:** Kibana
**Created:** [July 29, 2019, 12:44pm UTC](https://discuss.elastic.co/t/map-only-bucket-shape-field-available/192697 "2019-07-29T12:44:38Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ragnar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ragnar/32/7610_2.png) [@Ragnar](https://discuss.elastic.co/u/Ragnar)
#### Post date: [July 29, 2019, 12:44pm UTC](https://discuss.elastic.co/t/map-only-bucket-shape-field-available/192697/1 "2019-07-29T12:44:38Z")

</div>

I have an Elastic cluster with Kibana on top (5.6.14).  
I just added the filter GeoIp to Logstash and have all the desired data from the original IP I have from the source, indexed to Elastic.

Now I wanted to build a visualization from thoses info to see where those IP come from. Every tutorial I can find, I can see a bucket named "Geo Coordinate - Geo Hash". In my case I only have "Shape field.

Do this version is able to build a map from this kind of data ? Do I have to install a plugin or something ?

Thank !

---

<div class="post-metadata">

### Author: ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)
#### Post date: [July 29, 2019, 5:43pm UTC](https://discuss.elastic.co/t/map-only-bucket-shape-field-available/192697/2 "2019-07-29T17:43:31Z")

</div>

The [Geo Hash aggregation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html) currently only works with fields mapped as [`geo_point`](https://www.elastic.co/guide/en/elasticsearch/reference/current/geo-point.html).

If your field is mapped as a `geo_point` you can use the Coordinate Map visualization to create Geo Hash visualilzations. [https://www.elastic.co/guide/en/kibana/5.6/tilemap.html](https://www.elastic.co/guide/en/kibana/5.6/tilemap.html)

---

<div class="post-metadata">

### Author: ![Ragnar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ragnar/32/7610_2.png) [@Ragnar](https://discuss.elastic.co/u/Ragnar)
#### Post date: [August 7, 2019, 8:15am UTC](https://discuss.elastic.co/t/map-only-bucket-shape-field-available/192697/3 "2019-08-07T08:15:03Z")

</div>

Hi @nickpeihl,

Thanks for your answer. The filter geoip on Logstash has construct a bunch of new fields but of the type string and number. Nothing as `geo_point` so not usable as it is on a map. How can I fix that ?

---

<div class="post-metadata">

### Author: ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)
#### Post date: [August 7, 2019, 3:33pm UTC](https://discuss.elastic.co/t/map-only-bucket-shape-field-available/192697/4 "2019-08-07T15:33:41Z")

</div>

Hi @Ragnar

You may have to install the GeoIP plugin in Elasticsearch as well. [https://www.elastic.co/guide/en/elasticsearch/plugins/5.6/ingest-geoip.html](https://www.elastic.co/guide/en/elasticsearch/plugins/5.6/ingest-geoip.html)

This blog post might be helpful for you. It goes over the entire configuration for Elasticsearch, Logstash, and Kibana. And there is a troubleshooting section for common issues at the end of the post. [https://www.elastic.co/blog/geoip-in-the-elastic-stack](https://www.elastic.co/blog/geoip-in-the-elastic-stack)

If you still have trouble can you also share your Logstash config?

---

<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: [September 4, 2019, 3:43pm UTC](https://discuss.elastic.co/t/map-only-bucket-shape-field-available/192697/5 "2019-09-04T15:43:03Z")

</div>

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