# Where do you configure the GeoIP plugin (not using logstash)

**URL:** <https://discuss.elastic.co/t/where-do-you-configure-the-geoip-plugin-not-using-logstash/166216>\
**Category:** Elasticsearch\
**Created:** [January 29, 2019, 5:33pm UTC](https://discuss.elastic.co/t/where-do-you-configure-the-geoip-plugin-not-using-logstash/166216 "2019-01-29T17:33:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sentient](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sentient/32/34996_2.png) [@sentient](https://discuss.elastic.co/u/sentient)\
**Post date:** [January 29, 2019, 5:33pm UTC](https://discuss.elastic.co/t/where-do-you-configure-the-geoip-plugin-not-using-logstash/166216/1 "2019-01-29T17:33:52Z")

</div>

I would like to configure using a different geoip database  
or would like to configure the cache\_size option (not even sure if that is available)

But how or in which file do I do this? And what are all the options?

I did find documentation for logstash ([https://www.elastic.co/guide/en/logstash/current/plugins-](https://www.elastic.co/guide/en/logstash/current/plugins-)  
filters-geoip.html#plugins-filters-geoip-common-options)

But I'm not using logstash. I installed the ingest-geoip module with  
/opt/elasticsearch/bin/elasticsearch-plugin install ingest-geoip

---

<div class="post-metadata">

**Author:** ![arlen](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@arlen](https://discuss.elastic.co/u/arlen)\
**Post date:** [January 29, 2019, 5:55pm UTC](https://discuss.elastic.co/t/where-do-you-configure-the-geoip-plugin-not-using-logstash/166216/2 "2019-01-29T17:55:05Z")

</div>

Don't have one to test with, so take this for what it's worth, but:

The place to put the db is wherever your config file is. if, for example, yours is at /etc/elasticsearch/elasticsearch.yml the db would go in /etc/elasticsearch/ingest-geoip/ (where the default MM dns are)

And from [https://www.elastic.co/guide/en/elasticsearch/plugins/current/using-ingest-geoip.html](https://www.elastic.co/guide/en/elasticsearch/plugins/current/using-ingest-geoip.html) I think the config parameter you're after is:

```
ingest.geoip.database_file: dbname

```

But from there on I'm unclear. Hope this gets you at least started along the way.

---

<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:** [February 26, 2019, 5:55pm UTC](https://discuss.elastic.co/t/where-do-you-configure-the-geoip-plugin-not-using-logstash/166216/3 "2019-02-26T17:55:08Z")

</div>

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