# Geoip filter plugin does not handle spaces in key name

**URL:** <https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362>\
**Category:** Logstash\
**Created:** [May 17, 2018, 3:06pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362 "2018-05-17T15:06:19Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VTGuy](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@VTGuy](https://discuss.elastic.co/u/VTGuy)\
**Post date:** [May 17, 2018, 3:06pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362/1 "2018-05-17T15:06:19Z")

</div>

Good day,

New user here... I hope I am posting to the correct place. I wanted to report a bug in the Geoip filter plugin. It appears that it does not like a space in the key name.

**Results in a \_geoip\_lookup\_failure:**  
geoip {  
source =\> "Source IP"  
}

**Parses just fine:**  
geoip {  
source =\> "source\_ip"  
}

Thanks for your time.

---

<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:** [May 20, 2018, 9:28am UTC](https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362/2 "2018-05-20T09:28:06Z")

</div>

Do you mind raising that over here so we can look into it? [https://github.com/logstash-plugins/logstash-filter-geoip/issues](https://github.com/logstash-plugins/logstash-filter-geoip/issues)

---

<div class="post-metadata">

**Author:** ![VTGuy](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@VTGuy](https://discuss.elastic.co/u/VTGuy)\
**Post date:** [May 20, 2018, 1:05pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362/3 "2018-05-20T13:05:55Z")

</div>

Thank you for the suggestion and link. Issue is opened here: [https://github.com/logstash-plugins/logstash-filter-geoip/issues/138](https://github.com/logstash-plugins/logstash-filter-geoip/issues/138).

Have a great day.

---

<div class="post-metadata">

**Author:** ![pjanzen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pjanzen/32/13756_2.png) [@pjanzen](https://discuss.elastic.co/u/pjanzen)\
**Post date:** [May 20, 2018, 1:28pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362/4 "2018-05-20T13:28:51Z")

</div>

I would say, field names cannot contain spaces or is that just me?

---

<div class="post-metadata">

**Author:** ![VTGuy](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@VTGuy](https://discuss.elastic.co/u/VTGuy)\
**Post date:** [May 20, 2018, 6:14pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362/5 "2018-05-20T18:14:24Z")

</div>

It does not seem to be a problem elsewhere within ELK stack. If it is a design decision for geoip, then just state it in the documentation. Thanks for the feedback.

---

<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:** [June 17, 2018, 6:14pm UTC](https://discuss.elastic.co/t/geoip-filter-plugin-does-not-handle-spaces-in-key-name/132362/6 "2018-06-17T18:14:30Z")

</div>

Closed on June 17, 2018, 6:14pm UTC

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