# Kibana 4 - Map with Country Codes

**URL:** <https://discuss.elastic.co/t/kibana-4-map-with-country-codes/40140>\
**Category:** Kibana\
**Created:** [January 26, 2016, 4:53pm UTC](https://discuss.elastic.co/t/kibana-4-map-with-country-codes/40140 "2016-01-26T16:53:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![veve90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/veve90/32/6517_2.png) [@veve90](https://discuss.elastic.co/u/veve90)\
**Post date:** [January 26, 2016, 4:53pm UTC](https://discuss.elastic.co/t/kibana-4-map-with-country-codes/40140/1 "2016-01-26T16:53:02Z")

</div>

Hello,

My data doesn't contain the IP of the client but only a country code.  
How can I make a geohash with the country code?

Thank you!

---

<div class="post-metadata">

**Author:** ![Khalah\_Jones\_Golden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/khalah_jones_golden/32/7169_2.png) [@Khalah\_Jones\_Golden](https://discuss.elastic.co/u/Khalah_Jones_Golden)\
**Post date:** [January 26, 2016, 5:20pm UTC](https://discuss.elastic.co/t/kibana-4-map-with-country-codes/40140/2 "2016-01-26T17:20:14Z")

</div>

You would have to have a separate service outside of kibana that turns the country codes into lat, lng, precision.

Peace,  
Khalah

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 30, 2016, 3:24pm UTC](https://discuss.elastic.co/t/kibana-4-map-with-country-codes/40140/3 "2016-01-30T15:24:26Z")

</div>

If Logstash is used to populate ES, a [translate filter](https://www.elastic.co/guide/en/logstash/current/plugins-filters-translate.html) could be used to map country codes to lat/lon values.

---

<div class="post-metadata">

**Author:** ![Meenal.Luktuke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/meenal.luktuke/32/7795_2.png) [@Meenal.Luktuke](https://discuss.elastic.co/u/Meenal.Luktuke)\
**Post date:** [April 21, 2016, 2:14pm UTC](https://discuss.elastic.co/t/kibana-4-map-with-country-codes/40140/4 "2016-04-21T14:14:57Z")

</div>

Try Vector map from here : [https://github.com/stormpython/vectormap](https://github.com/stormpython/vectormap)

---

<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:** [July 6, 2017, 1:55pm UTC](https://discuss.elastic.co/t/kibana-4-map-with-country-codes/40140/5 "2017-07-06T13:55:29Z")

</div>


