# GeoIP Manual Database Updating

**URL:** <https://discuss.elastic.co/t/geoip-manual-database-updating/330253>\
**Category:** Logstash\
**Created:** [April 18, 2023, 9:39pm UTC](https://discuss.elastic.co/t/geoip-manual-database-updating/330253 "2023-04-18T21:39:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwalker](https://avatars.discourse-cdn.com/v4/letter/w/43a26b/32.png) [@wwalker](https://discuss.elastic.co/u/wwalker)\
**Post date:** [April 18, 2023, 9:39pm UTC](https://discuss.elastic.co/t/geoip-manual-database-updating/330253/1 "2023-04-18T21:39:56Z")

</div>

I am manually updating the GeoIP databases, but don't have the ability to host the updated DBs on a web server somewhere. Is it possible to utilize a Elasticsearch, Kibana, or Logstash to host the files? For instance, I know this specific filepath wouldn't work (or at least I wouldn't expect it to), sticking the files in Logstash\bin and then referencing it through a URL `https://logstash.example.net/overview.json`?

---

<div class="post-metadata">

**Author:** ![wwalker](https://avatars.discourse-cdn.com/v4/letter/w/43a26b/32.png) [@wwalker](https://discuss.elastic.co/u/wwalker)\
**Post date:** [April 19, 2023, 4:37pm UTC](https://discuss.elastic.co/t/geoip-manual-database-updating/330253/2 "2023-04-19T16:37:03Z")

</div>

I broke down and setup IIS on the Logstash server. It's really too bad that these databases can't be referenced with a file path.

---

<div class="post-metadata">

**Author:** ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)\
**Post date:** [April 20, 2023, 10:33am UTC](https://discuss.elastic.co/t/geoip-manual-database-updating/330253/3 "2023-04-20T10:33:48Z")

</div>

Geoip can be referenced to the file:

```auto
   geoip {
     source => "clientip"
     database => "/opt/downloads/GeoLite2-City.mmdb"
   }

```

Check [here](https://discuss.elastic.co/t/how-to-logstash-geoip-database-file-update/91359) and [here](https://www.elastic.co/guide/en/logstash/current/plugins-filters-geoip.html#plugins-filters-geoip-manage_update)

---

<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:** [May 18, 2023, 10:34am UTC](https://discuss.elastic.co/t/geoip-manual-database-updating/330253/4 "2023-05-18T10:34:25Z")

</div>

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