# Elastic APM .Net Agent Sanitizing Data

**URL:** <https://discuss.elastic.co/t/elastic-apm-net-agent-sanitizing-data/240946>\
**Category:** APM\
**Tags:** dotnet\
**Created:** [July 13, 2020, 10:29am UTC](https://discuss.elastic.co/t/elastic-apm-net-agent-sanitizing-data/240946 "2020-07-13T10:29:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozgun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ozgun/32/83011_2.png) [@ozgun](https://discuss.elastic.co/u/ozgun)\
**Post date:** [July 13, 2020, 10:29am UTC](https://discuss.elastic.co/t/elastic-apm-net-agent-sanitizing-data/240946/1 "2020-07-13T10:29:53Z")

</div>

Hello,

I'm using Elastic APM Agent with .Net Core. I'm wondering how can I sanitize sensitive data. In Python Agent there is a cool future for this purpose. [https://www.elastic.co/guide/en/apm/agent/python/current/sanitizing-data.html](https://www.elastic.co/guide/en/apm/agent/python/current/sanitizing-data.html)

But I can't find this feature in dotnet agent docs.

Thank you.

---

<div class="post-metadata">

**Author:** ![GregKalapos](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gregkalapos/32/37205_2.png) [@GregKalapos](https://discuss.elastic.co/u/GregKalapos)\
**Post date:** [July 13, 2020, 12:21pm UTC](https://discuss.elastic.co/t/elastic-apm-net-agent-sanitizing-data/240946/2 "2020-07-13T12:21:59Z")

</div>

Hi @ozgun, welcome to discuss 👏

In the .NET Agent there is a very similar feature called filter API. [Here](https://www.elastic.co/guide/en/apm/agent/dotnet/current/public-api.html#filter-api) is the documentation of it.

For .NET there are no predefined filters, but that is a feature we could easily implement.

---

<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:** [August 3, 2020, 8:22am UTC](https://discuss.elastic.co/t/elastic-apm-net-agent-sanitizing-data/240946/3 "2020-08-03T08:22:04Z")

</div>

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