# How to configure geoip Accurate Database (GeoipcCity.Dat) in Logstash

**URL:** <https://discuss.elastic.co/t/how-to-configure-geoip-accurate-database-geoipccity-dat-in-logstash/38223>\
**Category:** Logstash\
**Created:** [December 31, 2015, 11:30am UTC](https://discuss.elastic.co/t/how-to-configure-geoip-accurate-database-geoipccity-dat-in-logstash/38223 "2015-12-31T11:30:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aniamin](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@aniamin](https://discuss.elastic.co/u/aniamin)\
**Post date:** [December 31, 2015, 11:30am UTC](https://discuss.elastic.co/t/how-to-configure-geoip-accurate-database-geoipccity-dat-in-logstash/38223/1 "2015-12-31T11:30:04Z")

</div>

Currently I am using GeoLiteCity.Dat in Logstash. But this Database is not correct. I want to use more accurate database (GeoIPCity.dat). How to configure this?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [January 4, 2016, 10:55am UTC](https://discuss.elastic.co/t/how-to-configure-geoip-accurate-database-geoipccity-dat-in-logstash/38223/2 "2016-01-04T10:55:26Z")

</div>

Have you looked at the [`database` option](https://www.elastic.co/guide/en/logstash/current/plugins-filters-geoip.html#plugins-filters-geoip-database)?

---

<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:16am UTC](https://discuss.elastic.co/t/how-to-configure-geoip-accurate-database-geoipccity-dat-in-logstash/38223/3 "2017-07-06T05:16:58Z")

</div>


