<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Log file size increased significantly due to the OneAgent Log Enrichment / Log Injection in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Log-file-size-increased-significantly-due-to-the-OneAgent-Log/m-p/303864#M1609</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/99496"&gt;@juanvelezH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can disable it at exactly the granularity you need:&lt;/P&gt;&lt;P&gt;Go to Settings → Preferences → OneAgent features, filter for "enrichment," and disable "Java – Trace/span context enrichment for unstructured logs" (or the equivalent for your log format/technology)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_0-1787905749586.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34145i1B25C8F954E65E0C/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_0-1787905749586.png" title="sujit_k_singh_0-1787905749586.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
    <pubDate>Fri, 28 Aug 2026 08:29:56 GMT</pubDate>
    <dc:creator>sujit_k_singh</dc:creator>
    <dc:date>2026-08-28T08:29:56Z</dc:date>
    <item>
      <title>Log file size increased significantly due to the OneAgent Log Enrichment / Log Injection</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-file-size-increased-significantly-due-to-the-OneAgent-Log/m-p/303806#M1608</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;We recently installed OneAgent in a Java application (Pharos) and noticed that the log file size increased significantly (a nohup.out file grew from 1GB to 2.5GB) due to the OneAgent Log Enrichment / Log Injection adding attributes like dt.trace_id and dt.span_id into stdout/stderr.&lt;/P&gt;
&lt;P&gt;While we understand that this metadata is essential for automatic log-to-trace (PurePath) correlation, the customer is currently facing two major challenges:&lt;/P&gt;
&lt;P&gt;Disk Storage Constraints: The extra bytes per log line are causing filesystem capacity issues.&lt;/P&gt;
&lt;P&gt;Readability Issues: Developers reading raw logs directly on the server complain that the extra metadata makes manual troubleshooting difficult.&lt;/P&gt;
&lt;P&gt;Questions for the community:&lt;/P&gt;
&lt;P&gt;Have you faced similar pushback from infrastructure teams due to disk growth caused by Log Injection?&lt;/P&gt;
&lt;P&gt;Is disabling log enrichment at the process group level the standard approach when storage is critical, or do you usually recommend setting up server-side logrotate / log retention policies instead?&lt;/P&gt;
&lt;P&gt;Are there any other lightweight configurations to limit injection size without losing full trace correlation?&lt;/P&gt;
&lt;P&gt;Thanks in advance for your insights!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="juanvelezH_0-1787750857506.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34131i8943F6F23CD430DD/image-size/medium?v=v2&amp;amp;px=400" alt="juanvelezH_0-1787750857506.png" title="juanvelezH_0-1787750857506.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2026 07:16:43 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-file-size-increased-significantly-due-to-the-OneAgent-Log/m-p/303806#M1608</guid>
      <dc:creator>juanvelezH</dc:creator>
      <dc:date>2026-08-27T07:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Log file size increased significantly due to the OneAgent Log Enrichment / Log Injection</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Log-file-size-increased-significantly-due-to-the-OneAgent-Log/m-p/303864#M1609</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/99496"&gt;@juanvelezH&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, you can disable it at exactly the granularity you need:&lt;/P&gt;&lt;P&gt;Go to Settings → Preferences → OneAgent features, filter for "enrichment," and disable "Java – Trace/span context enrichment for unstructured logs" (or the equivalent for your log format/technology)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sujit_k_singh_0-1787905749586.png"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/34145i1B25C8F954E65E0C/image-size/large?v=v2&amp;amp;px=999" alt="sujit_k_singh_0-1787905749586.png" title="sujit_k_singh_0-1787905749586.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sujit&lt;/P&gt;</description>
      <pubDate>Fri, 28 Aug 2026 08:29:56 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Log-file-size-increased-significantly-due-to-the-OneAgent-Log/m-p/303864#M1609</guid>
      <dc:creator>sujit_k_singh</dc:creator>
      <dc:date>2026-08-28T08:29:56Z</dc:date>
    </item>
  </channel>
</rss>

