# Can't use maps with geoip

**URL:** <https://discuss.elastic.co/t/cant-use-maps-with-geoip/234530>\
**Category:** Logstash\
**Tags:** maps\
**Created:** [May 27, 2020, 11:04am UTC](https://discuss.elastic.co/t/cant-use-maps-with-geoip/234530 "2020-05-27T11:04:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dariko77](https://avatars.discourse-cdn.com/v4/letter/d/8e7dd6/32.png) [@Dariko77](https://discuss.elastic.co/u/Dariko77)\
**Post date:** [May 27, 2020, 11:04am UTC](https://discuss.elastic.co/t/cant-use-maps-with-geoip/234530/1 "2020-05-27T11:04:45Z")

</div>

Hello,

I am trying to use the maps visualization in kibana with the geo\_ip but the maps dashboard dont know where are the fields of geo\_ip.

In logstash I use the geo\_ip in filter like:

```auto
geoip{
                        source => "client_ip"
                }

```

In Kibana I create and map the field location to the type geo\_point:

```auto
"location": {
          "type": "geo_point"
        },

```

with the debug print of logstash I can see the info of the function geo\_ip :

```auto
"geoip" => {,
                             "country_code2" => "EN",,
                               "region_code" => "12",,
                                        "ip" => "95.55.55.55",,
                               "postal_code" => "2336-003",,
                                 "city_name" => "Parede",,
                                  "timezone" => "Europe/Paris",,
                                  "latitude" => 31.6928,,
                              "country_name" => "France",,
                               "region_name" => "Paris",,
                            "continent_code" => "EU",,
                             "country_code3" => "PT",,
                                  "location" => {,
                                                  "lat" => 31.6928,,
                                                  "lon" => -10.3541,
                                                },,
                                  "longitude" => -10.3541,
                          },,

```

What I have to do to maps recognize the geoip info?

Thank you

---

<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 27, 2020, 1:22pm UTC](https://discuss.elastic.co/t/cant-use-maps-with-geoip/234530/2 "2020-05-27T13:22:43Z")

</div>

have you created the Index Pattern in Kibana?

---

<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:** [June 24, 2020, 1:22pm UTC](https://discuss.elastic.co/t/cant-use-maps-with-geoip/234530/3 "2020-06-24T13:22:43Z")

</div>

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