# Adding GeoIP pipeline to APM data

**URL:** <https://discuss.elastic.co/t/adding-geoip-pipeline-to-apm-data/332035>\
**Category:** APM\
**Tags:** java\
**Created:** [May 1, 2023, 5:36pm UTC](https://discuss.elastic.co/t/adding-geoip-pipeline-to-apm-data/332035 "2023-05-01T17:36:16Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [May 1, 2023, 8:47pm UTC](https://discuss.elastic.co/t/adding-geoip-pipeline-to-apm-data/332035/5 "2023-05-01T20:47:58Z")

</div>

What does _"We're essentially on ES 8.7"_ mean 🙂

There was a change in some behavior...  
What type of cluster are you running? Self Managed Node, Elastic Cloud etc? how many nodes?...

Perhaps the GeoIP db settings are not consistent on all the nodes, which can result in intermittent results.

Is that output from the pipeline simulate? How are you testing, hard to tell without the actual commands... or are you doing that in the Ingest Pipeline Tester in Kibana?

Try this from [this](https://discuss.elastic.co/t/geoip-database-unavailable-geolite2-asn-mmdb/330772/22) post

Disable the geoip databases

```auto
PUT _cluster/settings
{
  "persistent": {
    "ingest.geoip.downloader.enabled" : false
  }
}

GET _cat/indices/.ge*?v

GET _ingest/geoip/stats

```

Wait about 2 mins then re-enable

```auto
PUT _cluster/settings
{
  "persistent": {
    "ingest.geoip.downloader.enabled" : true
  }
}

GET _cat/indices/.ge*?v

GET _ingest/geoip/stats

```

Also how are you directing these request... only ingest nodes have the geoip database so you if you direct the request to a data only node (not and ingest) it will fail.

---

_[View the full topic](https://discuss.elastic.co/t/adding-geoip-pipeline-to-apm-data/332035)._
