# Longitude and latitude for logs

**URL:** <https://discuss.elastic.co/t/longitude-and-latitude-for-logs/58964>\
**Category:** Logstash\
**Created:** [August 25, 2016, 5:26pm UTC](https://discuss.elastic.co/t/longitude-and-latitude-for-logs/58964 "2016-08-25T17:26:22Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 25, 2016, 11:28pm UTC](https://discuss.elastic.co/t/longitude-and-latitude-for-logs/58964/6 "2016-08-25T23:28:11Z")

</div>

> [@anoopmk007](#):
>
> The host name of the logstash machine will be the geolocation. This server has internal ip 10...\*

You cannot use geolocation on this because the geoip filter only works on public IPs.

Have a look at [Creating geoip data for internal networks](https://discuss.elastic.co/t/creating-geoip-data-for-internal-networks/729/), as @magnusbaeck mentioned.

---

_[View the full topic](https://discuss.elastic.co/t/longitude-and-latitude-for-logs/58964)._
