# Private IP addresses are logged in as client.ip

**URL:** <https://discuss.elastic.co/t/private-ip-addresses-are-logged-in-as-client-ip/236531>\
**Category:** APM\
**Tags:** rum\
**Created:** [June 10, 2020, 3:14pm UTC](https://discuss.elastic.co/t/private-ip-addresses-are-logged-in-as-client-ip/236531 "2020-06-10T15:14:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![akosanovic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akosanovic/32/58345_2.png) [@akosanovic](https://discuss.elastic.co/u/akosanovic)\
**Post date:** [June 10, 2020, 3:14pm UTC](https://discuss.elastic.co/t/private-ip-addresses-are-logged-in-as-client-ip/236531/1 "2020-06-10T15:14:22Z")

</div>

Hi, we are experiencing strange issue with the APM error logs since ~9AM UTC. We are getting Private IP addresses logged inside `client.ip`  
They seem to be coming from Amazon but are not our machines.

What could be causing this issue?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c853f124b8a7ea431b898f4c062e824425008022.png)

**Kibana version** : 7.5.0

**Elasticsearch version** : 7.5.0

**APM Server version** : 7.5.0

**APM Agent language and version** : apm-rum-angular v3

**Browser version** : any

**Original install method (e.g. download page, yum, deb, from source, etc.) and version** : Cloud version

**Fresh install or upgraded from other version?** :

**Is there anything special in your setup?** : No

**Errors in browser console (if relevant)** : No

---

<div class="post-metadata">

**Author:** ![simitt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simitt/32/106406_2.png) [@simitt](https://discuss.elastic.co/u/simitt)\
**Post date:** [June 12, 2020, 8:57am UTC](https://discuss.elastic.co/t/private-ip-addresses-are-logged-in-as-client-ip/236531/2 "2020-06-12T08:57:13Z")

</div>

Hi @akosanovic,  
by default the APM Server captures the IP address and User Agent of the real user when requests are sent from the RUM agent, and the IP address for requests from backend services.  
You can disable this by setting [`apm-server.capture_personal_data: false`](https://www.elastic.co/guide/en/apm/server/current/configuration-process.html#capture_personal_data) in the `apm-server.yml`.

---

<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, 2020, 4:57am UTC](https://discuss.elastic.co/t/private-ip-addresses-are-logged-in-as-client-ip/236531/3 "2020-07-03T04:57:31Z")

</div>

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