# Logstash Geo IP address wrong country code

**URL:** <https://discuss.elastic.co/t/logstash-geo-ip-address-wrong-country-code/172841>\
**Category:** Logstash\
**Created:** [March 18, 2019, 5:57pm UTC](https://discuss.elastic.co/t/logstash-geo-ip-address-wrong-country-code/172841 "2019-03-18T17:57:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![naftalin\_n](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/naftalin_n/32/42007_2.png) [@naftalin\_n](https://discuss.elastic.co/u/naftalin_n)\
**Post date:** [March 18, 2019, 5:57pm UTC](https://discuss.elastic.co/t/logstash-geo-ip-address-wrong-country-code/172841/1 "2019-03-18T17:57:29Z")

</div>

hi all,  
i tried to check the geoip filter with VPN, my remote address is 77.111.246.62 which is an American ip. the problem is that the country code im getting from that filter is NO (Norway)

```
"geoip" : {
            "ip" : "77.111.246.62",
            "country_name" : "Norway",
            "latitude" : 59.95,
            "location" : {
              "lat" : 59.95,
              "lon" : 10.75
            },
            "timezone" : "Europe/Oslo",
            "country_code2" : "NO",
            "country_code3" : "NO",
            "continent_code" : "EU",
            "longitude" : 10.75
          },
```

---

<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:** [April 15, 2019, 5:57pm UTC](https://discuss.elastic.co/t/logstash-geo-ip-address-wrong-country-code/172841/2 "2019-04-15T17:57:32Z")

</div>

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