# Use DB-IP database instead of Maxmind database to get GEOIP values

**URL:** <https://discuss.elastic.co/t/use-db-ip-database-instead-of-maxmind-database-to-get-geoip-values/93411>\
**Category:** Logstash\
**Created:** [July 17, 2017, 2:45pm UTC](https://discuss.elastic.co/t/use-db-ip-database-instead-of-maxmind-database-to-get-geoip-values/93411 "2017-07-17T14:45:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krisztian\_Vasko](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Krisztian\_Vasko](https://discuss.elastic.co/u/Krisztian_Vasko)\
**Post date:** [July 17, 2017, 2:45pm UTC](https://discuss.elastic.co/t/use-db-ip-database-instead-of-maxmind-database-to-get-geoip-values/93411/1 "2017-07-17T14:45:15Z")

</div>

I am using the geoip location mapping in Logstash configuration. Everything is working fine but it seems that many times I am getting wrong values in geoip.location filed. There are approx. 40-50km difference. I have found the problem is with the Geoip-City database; therefore I would like to use DB-IP database ([https://www.db-ip.com](https://www.db-ip.com)). Can somebody help me that is it possible to use DB-IP database to get geoip information in ELK instead of Geoip? If yes how can I configure it? I would like to get the geoip-location, city-name & connection type values.

Thank you for your help in advance!

---

<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:** [August 14, 2017, 2:45pm UTC](https://discuss.elastic.co/t/use-db-ip-database-instead-of-maxmind-database-to-get-geoip-values/93411/2 "2017-08-14T14:45:27Z")

</div>

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