# Display multiple geoip data on kibana maps

**URL:** <https://discuss.elastic.co/t/display-multiple-geoip-data-on-kibana-maps/378674>\
**Category:** Kibana\
**Tags:** maps\
**Created:** [May 29, 2025, 2:55am UTC](https://discuss.elastic.co/t/display-multiple-geoip-data-on-kibana-maps/378674 "2025-05-29T02:55:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vu\_Trong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vu_trong/32/134284_2.png) [@Vu\_Trong](https://discuss.elastic.co/u/Vu_Trong)\
**Post date:** [May 29, 2025, 2:55am UTC](https://discuss.elastic.co/t/display-multiple-geoip-data-on-kibana-maps/378674/1 "2025-05-29T02:55:10Z")

</div>

Hi everyone,

I'm working with a set of GeoIP data that includes multiple entries identified by `resolved_ip`. I initially tried using the `nested` type to display the data on Kibana Maps, but nothing appears on the map.

I also attempted to use `geo_shape` for location data, but it seems I’m unable to search or visualize locations based on `resolved_ip`.

Below is a sample of my data and the current index mapping I’m using:

Any suggestions or guidance would be greatly appreciated!

Here is my data and current mappings

```auto
{
  "points": [
    {
      "resolved_ip": "38.145.60.21",
      "location": { "lat": 33.304, "lon": -111.8478 },
      "city": "Chandler",
      "country": {
        "iso": "US",
        "name": "United States"
      }
    },
    {
      "resolved_ip": "13.233.161.229",
      "location": { "lat": 19.0748, "lon": 72.8856 },
      "city": "Mumbai",
      "country": {
        "iso": "IN",
        "name": "India"
      }
    },
    {
      "resolved_ip": "18.136.235.60",
      "location": { "lat": 1.2868, "lon": 103.8503 },
      "city": "Singapore",
      "country": {
        "iso": "SG",
        "name": "Singapore"
      }
    },
    {
      "resolved_ip": "38.145.60.20",
      "location": { "lat": 33.304, "lon": -111.8478 },
      "city": "Chandler",
      "country": {
        "iso": "US",
        "name": "United States"
      }
    },
    {
      "resolved_ip": "54.254.22.88",
      "location": { "lat": 1.2868, "lon": 103.8503 },
      "city": "Singapore",
      "country": {
        "iso": "SG",
        "name": "Singapore"
      }
    }
  ]
}

```

```auto
PUT /geo-index-geo-shape-2
{
  "mappings": {
    "properties": {
      "points": {
        "type": "nested",
        "properties": {
          "resolved_ip": { "type": "ip" },
          "location": { "type": "geo_point" },
          "city": { "type": "text" },
          "country": {
            "properties": {
              "iso": { "type": "keyword" },
              "name": { "type": "text" }
            }
          }
        }
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [May 29, 2025, 6:59am UTC](https://discuss.elastic.co/t/display-multiple-geoip-data-on-kibana-maps/378674/2 "2025-05-29T06:59:34Z")

</div>

Unfortunately there is no support for nested fields in Kibana. The issue to track this feature request can be found here

> <https://github.com/elastic/kibana/issues/1084>
>
> This is sort of a duplicate of some other issues I searched for but I haven't se…en this particular aspect discussed, so I thought this was worth a separate issue.
> 
> You read the \_mapping field, so you should know when a particular field is nested, so can it not automatically apply the correct nested facet/query when such a field is selected in queries or facets? 
> 
> (Alternatively/in addition as suggested by #532, you could have a checkbox to allow users to select it themselves, perhaps as an interim measure)
> 
> I'm sure there are some cases where this gets complicated, but there are also a bunch of cases where it's a straightforward changing of one block of JSON to another.
> 
> 
> Latest update: https://github.com/elastic/kibana/issues/1084#issuecomment-585178079

On the other hand, there are multiple answers on the forum on how to approach this limitation. I can share a couple here:

> [@Nested object fields not visible in Kibana visualizations](https://discuss.elastic.co/t/nested-object-fields-not-visible-in-kibana-visualizations/355058):
>
> Hi guys, I am new to the ELK stack. I have been trying to build a visualization in Kibana that involves nested object fields. But have had no luck finding any information or resource on how to accomplish that. Can someone please help guide

> [@How to analyse nested fields?](https://discuss.elastic.co/t/how-to-analyse-nested-fields/325944):
>
> I am working in e-health project and we have a lot of clinical data (JSON format) stored in our data base. We want to do some research in these data, that’s why we think that Elastic Search tool can help us in this project. I did some tests using kibana and ES (current version). Unfortunately, the results are not helpful. I need your help to be sure that I am using ES correctly. In fact, I created 2 new indices (for 2 patients) containing some nested fields. For example, a patient has differe…

---

<div class="post-metadata">

**Author:** ![Vu\_Trong](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vu_trong/32/134284_2.png) [@Vu\_Trong](https://discuss.elastic.co/u/Vu_Trong)\
**Post date:** [May 29, 2025, 7:17am UTC](https://discuss.elastic.co/t/display-multiple-geoip-data-on-kibana-maps/378674/3 "2025-05-29T07:17:17Z")

</div>

Thanks a lot for the information, Jsanz!
