# Kibana Maps for custom data

**URL:** <https://discuss.elastic.co/t/kibana-maps-for-custom-data/215241>\
**Category:** Kibana\
**Created:** [January 16, 2020, 5:41am UTC](https://discuss.elastic.co/t/kibana-maps-for-custom-data/215241 "2020-01-16T05:41:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![katara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/katara/32/60143_2.png) [@katara](https://discuss.elastic.co/u/katara)\
**Post date:** [January 16, 2020, 5:41am UTC](https://discuss.elastic.co/t/kibana-maps-for-custom-data/215241/1 "2020-01-16T05:41:36Z")

</div>

Hello all,  
I have a data like below in my ES

> ```
> NodeName State Country Value
> LS02 Virginia US 56
> LS04 NewYork US 89
> IN56 Delhi India 77
> 
> ```

So I want to create a map based on the states, with its corresponding Value.  
I am working with a ELK 7.2.0 set.  
I'm rather new to Kibana, I'd very much like to have a kick start on what are the things I need to do.  
Hope I can get an Idea of working this out!  
Thanks in Advance 🙂

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [January 24, 2020, 12:16am UTC](https://discuss.elastic.co/t/kibana-maps-for-custom-data/215241/2 "2020-01-24T00:16:31Z")

</div>

Hi  
What format is this data in ? If it has the latitudes and longitudes you can import the data via geoJSON in Maps. First step is to ingest this data into ES somehow - via CSV or GEOJSON depending on ur your format.

[https://www.elastic.co/guide/en/kibana/current/getting-started.html](https://www.elastic.co/guide/en/kibana/current/getting-started.html) will give you fair idea on how to get started on Kibana .

[https://www.elastic.co/guide/en/kibana/current/maps-getting-started.html](https://www.elastic.co/guide/en/kibana/current/maps-getting-started.html) will get u started on Kibana Maps.

Please let us know how we can help u further.

Thanks  
Rashmi

---

<div class="post-metadata">

**Author:** ![katara](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/katara/32/60143_2.png) [@katara](https://discuss.elastic.co/u/katara)\
**Post date:** [January 24, 2020, 7:25am UTC](https://discuss.elastic.co/t/kibana-maps-for-custom-data/215241/3 "2020-01-24T07:25:41Z")

</div>

Hi @rashmi,  
My data is basically names of cities/names of countries.

Will this only work with a geo codes embedded? Is there a way that will allow me to recognize the location with names? Not address, just the country/state names.

thank you!

Katara.

---

<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:** [January 31, 2020, 4:28pm UTC](https://discuss.elastic.co/t/kibana-maps-for-custom-data/215241/4 "2020-01-31T16:28:02Z")

</div>

Hi @katara. If your data in Elasticsearch has [ISO 3166-2 codes](https://www.iso.org/obp/ui/#iso:code:3166:US) (ex. `US-VA`, `US-NY`, `IN-DL`), you could use the one or more of the EMS Boundary layers in Maps via a [terms join](https://www.elastic.co/guide/en/kibana/current/maps-add-choropleth-layer.html) to your data.

We currently have support for many country subdivisions and are regularly adding more countries. You can see what layers are available and the corresponding ISO codes at [https://maps.elastic.co](https://maps.elastic.co).

However, it sounds like you only have city and country names. Somehow you'll need to add geographic coordinates (latitudes and longitudes) to your data in Elasticsearch.

It might be possible to do determine the coordinates by reconciling your city names against the [geonames](https://www.geonames.org/) database. Perhaps you could [ingest the geonames database](https://github.com/openeventdata/es-geonames/tree/master/logstash) into a new index in Elasticsearch and use the "[Update By Query API](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update-by-query.html)" to add the coordinates to your existing index.

---

<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:** [February 28, 2020, 4:28pm UTC](https://discuss.elastic.co/t/kibana-maps-for-custom-data/215241/5 "2020-02-28T16:28:03Z")

</div>

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