# Create Custom geoip database for Logstash 5.2

**URL:** <https://discuss.elastic.co/t/create-custom-geoip-database-for-logstash-5-2/79473>\
**Category:** Logstash\
**Created:** [March 21, 2017, 4:50pm UTC](https://discuss.elastic.co/t/create-custom-geoip-database-for-logstash-5-2/79473 "2017-03-21T16:50:43Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [March 24, 2017, 1:02pm UTC](https://discuss.elastic.co/t/create-custom-geoip-database-for-logstash-5-2/79473/12 "2017-03-24T13:02:29Z")

</div>

It might be easier to change the format of the lookup file to YAML and have each key point to a string that is a correctly formatted JSON object, like described [here](https://discuss.elastic.co/t/translate-issue/58052) (JSON) or [here](https://discuss.elastic.co/t/query-relational-db-based-on-a-field-value-in-logstash/42215) (csv), which were found through a simple search of the forum.

---

_[View the full topic](https://discuss.elastic.co/t/create-custom-geoip-database-for-logstash-5-2/79473)._
