# Enriching data with ProxyIP database

**URL:** <https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169>\
**Category:** Logstash\
**Created:** [June 4, 2023, 2:54pm UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169 "2023-06-04T14:54:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hitz2403](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hitz2403/32/121821_2.png) [@Hitz2403](https://discuss.elastic.co/u/Hitz2403)\
**Post date:** [June 4, 2023, 2:54pm UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169/1 "2023-06-04T14:54:37Z")

</div>

Hi everyone, I need help enriching data with IP Proxy database like geoip plugin, has anyone done this before? Docs or something can help?

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [June 4, 2023, 3:40pm UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169/2 "2023-06-04T15:40:02Z")

</div>

You need to provide more context.

What is ProxyIP database?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 4, 2023, 3:45pm UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169/3 "2023-06-04T15:45:17Z")

</div>

Hi @Hitz2403 welcome to the community.

This sounds like an excellent use case for ingest pipelines and the enrich processor.

Take a look at the documentation. I think it'll help

> **[Enrich your data | Elasticsearch Guide \[8.8\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/ingest-enriching-data.html)**

And I think there is an exact example here for using IPs and ranges

> **[Example: Enrich your data by matching a value to a range | Elasticsearch...](https://www.elastic.co/guide/en/elasticsearch/reference/current/range-enrich-policy-type.html)**

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 4, 2023, 6:46pm UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169/4 "2023-06-04T18:46:36Z")

</div>

There is another method that can be used at runtime see here.

> **[Retrieve a runtime field | Elasticsearch Guide \[master\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/master/runtime-retrieving-fields.html#lookup-runtime-fields)**

It is not as performant / may not scale as well and enrich processor...

Enrich is at index time...

Lookup is at runtime.

Take a look at both.

---

<div class="post-metadata">

**Author:** ![toppyc](https://avatars.discourse-cdn.com/v4/letter/t/2bfe46/32.png) [@toppyc](https://discuss.elastic.co/u/toppyc)\
**Post date:** [June 5, 2023, 6:52am UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169/5 "2023-06-05T06:52:03Z")

</div>

It depends to which VPN IP proxy database you would like to use.

One of the providers, IP2Proxy, has an setup instructions published in [How to use IP2Proxy filter plugin with Elastic Stack (Elasticsearch, Filebeat, Logstash, and Kibana) - IP2Location.com](https://blog.ip2location.com/knowledge-base/how-to-use-ip2proxy-filter-plugin-with-elastic-stack/)

---

<div class="post-metadata">

**Author:** ![Hitz2403](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hitz2403/32/121821_2.png) [@Hitz2403](https://discuss.elastic.co/u/Hitz2403)\
**Post date:** [June 5, 2023, 8:50am UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169/6 "2023-06-05T08:50:40Z")

</div>

thank you ,this is what i need 😀

---

<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 3, 2023, 8:51am UTC](https://discuss.elastic.co/t/enriching-data-with-proxyip-database/335169/7 "2023-07-03T08:51:18Z")

</div>

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