# How to use cutom geoip database in cloud elastic?

**URL:** <https://discuss.elastic.co/t/how-to-use-cutom-geoip-database-in-cloud-elastic/276249>\
**Category:** Elasticsearch\
**Tags:** ingest-pipeline\
**Created:** [June 17, 2021, 10:13am UTC](https://discuss.elastic.co/t/how-to-use-cutom-geoip-database-in-cloud-elastic/276249 "2021-06-17T10:13:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tonik](https://avatars.discourse-cdn.com/v4/letter/t/ce73a5/32.png) [@tonik](https://discuss.elastic.co/u/tonik)\
**Post date:** [June 17, 2021, 10:13am UTC](https://discuss.elastic.co/t/how-to-use-cutom-geoip-database-in-cloud-elastic/276249/1 "2021-06-17T10:13:34Z")

</div>

Hi.  
I'm trying to convert ipv4 into geo location and I want to change database, coz it's setting incorrect location now. I cannot understand how to use/upload custom geoip database in cloud elastic cluster. Because documentation says:

```auto
Custom database files must be stored uncompressed and the extension must be `-City.mmdb` , `-Country.mmdb` , or `-ASN.mmdb` to indicate the type of the database. The `database_file` processor option is used to specify the filename of the custom database to use for the processor.

```

Please help!  
p.s. I apologize for possible inaccuracies

---

<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 15, 2021, 10:13am UTC](https://discuss.elastic.co/t/how-to-use-cutom-geoip-database-in-cloud-elastic/276249/2 "2021-07-15T10:13:48Z")

</div>

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