# Geohash with packetbeat and logstash

**URL:** <https://discuss.elastic.co/t/geohash-with-packetbeat-and-logstash/53136>\
**Category:** Logstash\
**Created:** [June 17, 2016, 9:22am UTC](https://discuss.elastic.co/t/geohash-with-packetbeat-and-logstash/53136 "2016-06-17T09:22:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)\
**Post date:** [June 17, 2016, 9:22am UTC](https://discuss.elastic.co/t/geohash-with-packetbeat-and-logstash/53136/1 "2016-06-17T09:22:49Z")

</div>

I have used packetbeat and logstash to read data and have downloaded the geolitecity.dat, but I could still not make any tile map in kibana as it still limits me to the option of client location as the geohash even I have updated the logstash conf file to include ip as a geoip. How can I make ip to be shown in tile map?

```
input{
	beats{
	port => 5044
	}
	udp{
	port => 514
	}
	tcp{ 
	port => 8080
	}
}
filter{
	geoip{
	source => "ip"
	target => "geoip"
	database => "C:\logstash\GeoLiteCity.dat"
	}
}
output{
	stdout{codec=>rubydebug}
	elasticsearch{
		hosts => "172.16.1.209:9200"
		index => "packetbeat-%{+YYYY.MM.dd}"
    		template => "C:/logstash/packetbeat.json"
    		template_overwrite => true
	}
}
```

---

<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:** [June 18, 2016, 1:38am UTC](https://discuss.elastic.co/t/geohash-with-packetbeat-and-logstash/53136/2 "2016-06-18T01:38:03Z")

</div>

Is the `ip` field mapped correctly in ES?

---

<div class="post-metadata">

**Author:** ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)\
**Post date:** [June 18, 2016, 2:38am UTC](https://discuss.elastic.co/t/geohash-with-packetbeat-and-logstash/53136/3 "2016-06-18T02:38:59Z")

</div>

I used the default packetbeat template? Does that mean I should change it?

---

<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:** [June 18, 2016, 6:43am UTC](https://discuss.elastic.co/t/geohash-with-packetbeat-and-logstash/53136/4 "2016-06-18T06:43:10Z")

</div>

It'd be best if you just checked what is there now.

---

<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:** [July 6, 2017, 4:52am UTC](https://discuss.elastic.co/t/geohash-with-packetbeat-and-logstash/53136/5 "2017-07-06T04:52:06Z")

</div>

Closed on July 6, 2017, 4:52am UTC


