# Geoip filter plugin missing geohash field

**URL:** https://discuss.elastic.co/t/geoip-filter-plugin-missing-geohash-field/93250
**Category:** Logstash
**Created:** [July 15, 2017, 2:02am UTC](https://discuss.elastic.co/t/geoip-filter-plugin-missing-geohash-field/93250 "2017-07-15T02:02:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![fpr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fpr/32/20088_2.png) [@fpr](https://discuss.elastic.co/u/fpr)
#### Post date: [July 15, 2017, 2:02am UTC](https://discuss.elastic.co/t/geoip-filter-plugin-missing-geohash-field/93250/1 "2017-07-15T02:02:25Z")

</div>

Hi,  
after upgrading to logstash-filter-geoip (4.2.1) there isn't the geo\_point -\> [geoip][location] field anymore.  
Only the two fields [geoip][location][lat] and [geoip][location][lon] are created.

I am using the default logstash template and index name is logstash-\*.

Is that a bug?

---

<div class="post-metadata">

### Author: ![fpr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fpr/32/20088_2.png) [@fpr](https://discuss.elastic.co/u/fpr)
#### Post date: [July 15, 2017, 7:25pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-missing-geohash-field/93250/2 "2017-07-15T19:25:54Z")

</div>

Ok - problem solved.

I edited the the mapping off my template:

`
"geoip" : {
   "dynamic": true,
   "properties" : {
     "ip": { "type": "ip" },
"location" : { "type" : "geo_point" },
"latitude" : { "type" : "half_float" },
"longitude" : { "type" : "half_float" }
}
}
`

---

<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: [August 12, 2017, 7:25pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-missing-geohash-field/93250/3 "2017-08-12T19:25:58Z")

</div>

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