# APM RUM GPDR

**URL:** <https://discuss.elastic.co/t/apm-rum-gpdr/274732>\
**Category:** APM\
**Tags:** rum\
**Created:** [June 2, 2021, 9:42am UTC](https://discuss.elastic.co/t/apm-rum-gpdr/274732 "2021-06-02T09:42:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ibexit](https://avatars.discourse-cdn.com/v4/letter/i/a88e4f/32.png) [@ibexit](https://discuss.elastic.co/u/ibexit)\
**Post date:** [June 2, 2021, 9:42am UTC](https://discuss.elastic.co/t/apm-rum-gpdr/274732/1 "2021-06-02T09:42:49Z")

</div>

Is there any way to configure the APM agent in compliance with the GPDR?  
Something like this: [Configure Real User Monitoring according to GDPR | Dynatrace Documentation](https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configuration/web-applications/additional-configuration/configure-real-user-monitoring-according-to-gdpr/)

---

<div class="post-metadata">

**Author:** ![jalvz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalvz/32/45613_2.png) [@jalvz](https://discuss.elastic.co/u/jalvz)\
**Post date:** [June 2, 2021, 10:08am UTC](https://discuss.elastic.co/t/apm-rum-gpdr/274732/2 "2021-06-02T10:08:15Z")

</div>

Hello,

Yes, you have several options:

In APM-Server you can disable this setting: [General configuration options | APM Server Reference [7.13] | Elastic](https://www.elastic.co/guide/en/apm/server/current/configuration-process.html#capture_personal_data) to not process IP / User Agent.

Agents have options as well to not send certain data (typically request body and headers); you need to look at the docs of your specific agent. This is how to to do it in the .NET agent, for instance: [HTTP configuration options | APM .NET Agent Reference [1.10] | Elastic](https://www.elastic.co/guide/en/apm/agent/dotnet/current/config-http.html#config-capture-body-content-types)

Finally, if you want to remove any other fields that you consider problematic, you can configure ingest node to add a new pipeline eg. to remove fields with a RemoveProcessor: [Parse data using ingest node pipelines | APM Server Reference [7.13] | Elastic](https://www.elastic.co/guide/en/apm/server/current/configuring-ingest-node.html)

Hope that helps!

---

<div class="post-metadata">

**Author:** ![ibexit](https://avatars.discourse-cdn.com/v4/letter/i/a88e4f/32.png) [@ibexit](https://discuss.elastic.co/u/ibexit)\
**Post date:** [June 4, 2021, 10:09am UTC](https://discuss.elastic.co/t/apm-rum-gpdr/274732/3 "2021-06-04T10:09:15Z")

</div>

thank you a lot! just to make sure, for the RUM-Agent currently (5.8.0) the only option is to use the [APM RUM Agent API - Filter Payload](https://www.elastic.co/guide/en/apm/agent/rum-js/current/agent-api.html#apm-add-filter) function, or am I missing sth?

Cheers!

---

<div class="post-metadata">

**Author:** ![jalvz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jalvz/32/45613_2.png) [@jalvz](https://discuss.elastic.co/u/jalvz)\
**Post date:** [June 8, 2021, 6:19am UTC](https://discuss.elastic.co/t/apm-rum-gpdr/274732/4 "2021-06-08T06:19:51Z")

</div>

Hi, yes, for RUM that is correct.

---

<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:** [June 29, 2021, 2:20am UTC](https://discuss.elastic.co/t/apm-rum-gpdr/274732/5 "2021-06-29T02:20:34Z")

</div>

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