# Undefined join field in Region Maps

**URL:** <https://discuss.elastic.co/t/undefined-join-field-in-region-maps/128597>\
**Category:** Kibana\
**Created:** [April 18, 2018, 7:24pm UTC](https://discuss.elastic.co/t/undefined-join-field-in-region-maps/128597 "2018-04-18T19:24:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![georgezoto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgezoto/32/18855_2.png) [@georgezoto](https://discuss.elastic.co/u/georgezoto)\
**Post date:** [April 18, 2018, 7:24pm UTC](https://discuss.elastic.co/t/undefined-join-field-in-region-maps/128597/1 "2018-04-18T19:24:22Z")

</div>

Hello amazing Kibana team,

I really like the custom region maps feature of Kibana and I am a daily user of it. I cannot wait for the upcoming enhanced GIS capabilities of Kibana, I think it is a missing part of the platform now.

I started this topic since I could not find anything online related to my issue. I have several custom region maps hosted on an external server as geojson files (☹ please allow us to host them on ELK to begin with).  
My issue is that after I define the join key under Data -\> Buckets as well as the Vector map under Options, I do not see any metrics on the map unless I select "undefined" as the join field as shown below.

In this case I have a dataset with NAME as the county name present in each record of my index and I only see my metrics/heat map if I select "undefined" as the join key and not the expected "County Name". Am I missing something very simple here or something else might be going on?

Thank you for your time,  
George Zoto

 ![Undefined%20Field%20in%20Region%20Maps](https://us1.discourse-cdn.com/elastic/original/3X/4/2/42c90e46e449a268fcda9f187819e20fdda42b6c.jpg)

`

### Custom Region Maps

```
regionmap:
  layers:

 - name: "USA Montana County"
   url: "http://my_server_url:8000/montana_county.geojson"
   attribution: "https://mslservices.mt.gov/Geographic_Information/Data/DataList/datalist_Details.aspx?did={7C0F0BF8-550B-406D-BD6C-7DA4E2FADD5C}"
   fields:
      - name: "NAME"
      - description: "County Name"

```

`

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [April 18, 2018, 10:12pm UTC](https://discuss.elastic.co/t/undefined-join-field-in-region-maps/128597/2 "2018-04-18T22:12:47Z")

</div>

hi @georgezoto,

I think the issue is the second `-` in the .yml preceding `description`. The field-object is an object with two properties, `name` and `description`, and in yml you start it with a single dash. so try:

```auto
regionmap:
  layers:

 - name: "USA Montana County"
   url: "http://my_server_url:8000/montana_county.geojson"
   attribution: "https://mslservices.mt.gov/Geographic_Information/Data/DataList/datalist_Details.aspx?did={7C0F0BF8-550B-406D-BD6C-7DA4E2FADD5C}"
   fields:
      - name: "NAME"
        description: "County Name"

```

As for your other suggestions, yes, we're working on a more integrated solution to create maps with our stack, please stay tuned 🙂

---

<div class="post-metadata">

**Author:** ![georgezoto](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/georgezoto/32/18855_2.png) [@georgezoto](https://discuss.elastic.co/u/georgezoto)\
**Post date:** [April 30, 2018, 9:54pm UTC](https://discuss.elastic.co/t/undefined-join-field-in-region-maps/128597/3 "2018-04-30T21:54:34Z")

</div>

Worked like a charm, thank you @thomasneirynck for your insight!  
Hanging on the edge of a cliff 😯 for a more comprehensive GIS support from Kibana 🌎, especially with region maps support for the cloud ☁. Its one of the features that sets Kibana apart from competitive solutions!

---

<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:** [May 28, 2018, 9:54pm UTC](https://discuss.elastic.co/t/undefined-join-field-in-region-maps/128597/4 "2018-05-28T21:54:35Z")

</div>

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