# \[Solved\] Canno't see geoip.location in visualization

**URL:** <https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927>\
**Category:** Kibana\
**Created:** [September 18, 2019, 7:16am UTC](https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927 "2019-09-18T07:16:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sylvaner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvaner/32/54377_2.png) [@Sylvaner](https://discuss.elastic.co/u/Sylvaner)\
**Post date:** [September 18, 2019, 7:16am UTC](https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927/1 "2019-09-18T07:16:26Z")

</div>

Hello,

I have found a lot of topics about this problem but i didn't find any solution.

Logstash add geoip data with this :

```
geoip {
  add_tag => ["GeoIP"]
  source => "src_ip"
}

```

Kibana mappings show it as a geo\_point

![04](https://us1.discourse-cdn.com/elastic/original/3X/4/b/4b1e4da35edea6d39aba87d82012843652ea0b8f.png)

But i cannot access to geoip.location when i want to create a map in visualization.  
It's not showed in the list of fields.

Does anyone have any idea to solve my problem ?

Thx

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [September 18, 2019, 7:50am UTC](https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927/2 "2019-09-18T07:50:23Z")

</div>

Hi @Sylvaner,

thanks for your question. Could you post the mapping of your index here? Knowing how exactly the data looks will make it easier to direct you to a solution. You can retrieve the mapping by going into the dev tools and querying `GET /<YOUR INDEX NAME>/_mapping`.

---

<div class="post-metadata">

**Author:** ![Sylvaner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvaner/32/54377_2.png) [@Sylvaner](https://discuss.elastic.co/u/Sylvaner)\
**Post date:** [September 18, 2019, 11:31am UTC](https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927/3 "2019-09-18T11:31:04Z")

</div>

Hi, thx for your reply.  
Here is it (Truncated because of the limit) :

```
{
  "logstash-syslog-2019.09.18" : {
    "mappings" : {
      "dynamic_templates" : [
        {
          "message_field" : {
            "path_match" : "message",
            "match_mapping_type" : "string",
            "mapping" : {
              "norms" : false,
              "type" : "text"
            }
          }
        },
        {
          "string_fields" : {
            "match" : "*",
            "match_mapping_type" : "string",
            "mapping" : {
              "fields" : {
                "keyword" : {
                  "ignore_above" : 256,
                  "type" : "keyword"
                }
              },
              "norms" : false,
              "type" : "text"
            }
          }
        }
      ],
      "properties" : {
        "@message" : {
          "type" : "text",
          "norms" : false,
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
        "@source_host" : {
          "type" : "text",
          "norms" : false,
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },

        ...

        
        "flow_label" : {
          "type" : "text",
          "norms" : false,
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
        "geoip" : {
          "dynamic" : "true",
          "properties" : {
            "city_name" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "continent_code" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "country_code2" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "country_code3" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "country_name" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "dma_code" : {
              "type" : "long"
            },
            "ip" : {
              "type" : "ip"
            },
            "latitude" : {
              "type" : "half_float"
            },
            "location" : {
              "type" : "geo_point"
            },
            "longitude" : {
              "type" : "half_float"
            },
            "postal_code" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "region_code" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "region_name" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            },
            "timezone" : {
              "type" : "text",
              "norms" : false,
              "fields" : {
                "keyword" : {
                  "type" : "keyword",
                  "ignore_above" : 256
                }
              }
            }
          }
        },
        "hop_limit" : {
          "type" : "text",
          "norms" : false,
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
        "host" : {
          "type" : "text",
          "norms" : false,
          "fields" : {
            "keyword" : {
              "type" : "keyword",
              "ignore_above" : 256
            }
          }
        },
        ...
```

---

<div class="post-metadata">

**Author:** ![flash1293](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/flash1293/32/41227_2.png) [@flash1293](https://discuss.elastic.co/u/flash1293)\
**Post date:** [September 18, 2019, 2:16pm UTC](https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927/4 "2019-09-18T14:16:37Z")

</div>

`geoip.location` is indexed as a geo point, which can be visualized using the "Coordinate map" visualization. Maybe you picked the "Region map" instead?

---

<div class="post-metadata">

**Author:** ![Sylvaner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sylvaner/32/54377_2.png) [@Sylvaner](https://discuss.elastic.co/u/Sylvaner)\
**Post date:** [September 18, 2019, 2:24pm UTC](https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927/5 "2019-09-18T14:24:29Z")

</div>

That's it.

I did not see this proposal in the choice. thank you very much

---

<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:** [October 16, 2019, 2:24pm UTC](https://discuss.elastic.co/t/solved-cannot-see-geoip-location-in-visualization/199927/6 "2019-10-16T14:24:31Z")

</div>

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