# Apache logs not able to map geo IPs

**URL:** <https://discuss.elastic.co/t/apache-logs-not-able-to-map-geo-ips/98429>\
**Category:** Logstash\
**Created:** [August 26, 2017, 3:56am UTC](https://discuss.elastic.co/t/apache-logs-not-able-to-map-geo-ips/98429 "2017-08-26T03:56:39Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Blason](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/blason/32/42284_2.png) [@Blason](https://discuss.elastic.co/u/Blason)\
**Post date:** [August 26, 2017, 4:05am UTC](https://discuss.elastic.co/t/apache-logs-not-able-to-map-geo-ips/98429/2 "2017-08-26T04:05:43Z")

</div>

Here is the thread I followed to troubleshoot and able to query the logs correctly based on lon/lat but not sure why that error is appearing

> **[GEOIP Enable](https://discuss.elastic.co/t/geoip-enable/74116)**
>
> Hi Firstly i am apologise for bugging the forum but it is just that i really want this to work. I have setup the stack using this link...

echo 37.58.58.206 | /usr/share/logstash/bin/logstash -f /etc/logstash/conf.d/test.config  
09:30:55.665 [Api Webserver] INFO logstash.agent - Successfully started Logstash API endpoint {:port=\>9601}  
{  
"@timestamp" =\> 2017-08-26T04:00:55.645Z,  
"geoip" =\> {  
"ip" =\> "37.58.58.206",  
"latitude" =\> 51.2993,  
"country\_name" =\> "Germany",  
"country\_code2" =\> "DE",  
"continent\_code" =\> "EU",  
"country\_code3" =\> "DE",  
"location" =\> {  
"lon" =\> 9.491,  
"lat" =\> 51.2993  
},  
"longitude" =\> 9.491  
},  
"@version" =\> "1",  
"host" =\> "0.0.0.0",  
"message" =\> "37.58.58.206"

---

_[View the full topic](https://discuss.elastic.co/t/apache-logs-not-able-to-map-geo-ips/98429)._
