# Removing Dynatrace one agent tag from the logs

**URL:** <https://community.dynatrace.com/t/removing-dynatrace-one-agent-tag-from-the-logs/51384>\
**Category:** Open Q&A\
**Tags:** oneagent\
**Created:** [April 27, 2025, 1:41pm UTC](https://community.dynatrace.com/t/removing-dynatrace-one-agent-tag-from-the-logs/51384 "2025-04-27T13:41:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hadeel\_Mahmoud](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@Hadeel\_Mahmoud](https://community.dynatrace.com/u/Hadeel_Mahmoud)\
**Post date:** [April 27, 2025, 1:41pm UTC](https://community.dynatrace.com/t/removing-dynatrace-one-agent-tag-from-the-logs/51384/1 "2025-04-27T13:41:34Z")

</div>

Hello,

I have a question regarding whether it’s possible to remove a tag that the Dynatrace OneAgent adds to the logs, like the one below

dt dt.entity.host=HOST-2F509FC3EAFFC3B2,dt.entity.process\_group=PROCESS\_GROUP-A724EC3CE80B3590,dt.entity.process\_group\_instance=PROCESS\_GROUP\_INSTANCE-C23E6F3B4DD9B57A,dt.trace\_id=96ef5dabc0952fd0a3475055fe700f9f,dt.span\_id=cd004813f43c493a,dt.trace\_sampled=true]

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 28, 2025, 6:34am UTC](https://community.dynatrace.com/t/removing-dynatrace-one-agent-tag-from-the-logs/51384/2 "2025-04-28T06:34:31Z")

</div>

Please refer to the&nbsp;Connecting log data to traces documentation

> **[Connect log data to traces](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-enrichment)**
>
> Connect your incoming log data to traces for more precise Dynatrace analysis.

You can enable/disable trace enrichment, although you’ll lose the option to drilldown from the trace to the log, from the log to the trace.

---

<div class="post-metadata">

**Author:** ![Hadeel\_Mahmoud](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@Hadeel\_Mahmoud](https://community.dynatrace.com/u/Hadeel_Mahmoud)\
**Post date:** [April 28, 2025, 8:26am UTC](https://community.dynatrace.com/t/removing-dynatrace-one-agent-tag-from-the-logs/51384/3 "2025-04-28T08:26:31Z")

</div>

Hello Paco,

can i enable this for a specific host not for the whole technology?

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [April 29, 2025, 11:29am UTC](https://community.dynatrace.com/t/removing-dynatrace-one-agent-tag-from-the-logs/51384/4 "2025-04-29T11:29:08Z")

</div>

you can do it at process group level.

> **[Connect log data to traces](https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-log-enrichment#log-enrichment--process-group-override-in-oneagent)**
>
> Log enrichment modifies your ingested log data and adds the following information to each detected log record: | Connect your incoming log data to traces for more precise Dynatrace analysis.
