# Will logstash-filter-geoip automatically pickup new db file?

**URL:** <https://discuss.elastic.co/t/will-logstash-filter-geoip-automatically-pickup-new-db-file/24079>\
**Category:** Logstash\
**Created:** [June 22, 2015, 11:28am UTC](https://discuss.elastic.co/t/will-logstash-filter-geoip-automatically-pickup-new-db-file/24079 "2015-06-22T11:28:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rtoma](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rtoma/32/44812_2.png) [@rtoma](https://discuss.elastic.co/u/rtoma)\
**Post date:** [June 22, 2015, 11:28am UTC](https://discuss.elastic.co/t/will-logstash-filter-geoip-automatically-pickup-new-db-file/24079/1 "2015-06-22T11:28:43Z")

</div>

We have a Maxmind site license and download updates every week. Logstash (1.5.0rc) config has a geoip filter with database parameter to point to the downloaded database.

But does the filter detect a new db? Or does it require a logstash restart to pickup fresh data.

I've tried answering my question by reading the filter and geoip-module code, but no luck.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [June 22, 2015, 4:11pm UTC](https://discuss.elastic.co/t/will-logstash-filter-geoip-automatically-pickup-new-db-file/24079/2 "2015-06-22T16:11:35Z")

</div>

At this point, Logstash requires a restart to use an updated db, or any configuration change.

With Logstash 2.0 we are going to use an API-based setup which will allow pipelines to be created/stopped/started on the fly, which will permit on-the-fly updates of this nature.

---

<div class="post-metadata">

**Author:** ![KavyaS](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KavyaS](https://discuss.elastic.co/u/KavyaS)\
**Post date:** [February 4, 2016, 12:43pm UTC](https://discuss.elastic.co/t/will-logstash-filter-geoip-automatically-pickup-new-db-file/24079/3 "2016-02-04T12:43:29Z")

</div>

@rtoma Does the same work for mmdb files? Or you convert them to dat files?

---

<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, 5:13am UTC](https://discuss.elastic.co/t/will-logstash-filter-geoip-automatically-pickup-new-db-file/24079/4 "2017-07-06T05:13:04Z")

</div>


