<?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: Enrich Fargate Logs with `dt.entity.process_group` in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/296495#M1546</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/62446"&gt;@eprogers&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to understand how logs are enabled for Fargate in your environment - are you using Fluent Bit for log forwarding?&lt;/P&gt;&lt;P&gt;Also, could you confirm which approach you followed for ECS instrumentation: runtime injection or deploying the OneAgent container as a daemon service?&lt;/P&gt;&lt;P&gt;We are also looking to enable log enrichment for trace–log correlation. From our understanding, automatic enrichment works when OneAgent handles log ingestion, so I assume you might be using the OneAgent container as a daemon service. Could you please confirm your setup?&lt;/P&gt;</description>
    <pubDate>Sun, 22 Mar 2026 16:30:54 GMT</pubDate>
    <dc:creator>mehakpuri01</dc:creator>
    <dc:date>2026-03-22T16:30:54Z</dc:date>
    <item>
      <title>Enrich Fargate Logs with `dt.entity.process_group`</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/214195#M68</link>
      <description>&lt;P&gt;I'm trying to enrich my Fargate logs with the `dt.entity.process_group`. The end goal is that I want my team to be able to view all logs related to a service.&lt;/P&gt;
&lt;P&gt;Here is a screenshot of the feature I'm trying to use:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-06-06 at 7.58.39 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12095iF518016F26FD402A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-06-06 at 7.58.39 AM.png" alt="Screenshot 2023-06-06 at 7.58.39 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt; And when I click the link above, I expect to see logs associated with my process group:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-06-06 at 8.09.10 AM.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12096i2D4B9777421CF55A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2023-06-06 at 8.09.10 AM.png" alt="Screenshot 2023-06-06 at 8.09.10 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;As it is, Oneagent is enriching my logs with various other fields I need, including: `&lt;SPAN class=""&gt;dt.entity.process_group_instance&lt;/SPAN&gt;`, `&lt;SPAN class=""&gt;dt.entity.host&lt;/SPAN&gt;`, `&lt;SPAN class=""&gt;dt.entity.process_group&lt;/SPAN&gt;`, `dt.span_id`, `dt.trace_sampled`, and `dt.trace_id`. However, I cannot get the `dt.entity.process_group` to be included in the log, even though Oneagent is aware of that group. I know Oneagent is aware of this id because I can see the process group ID in Oneagent's logs when when I set the `DT_LOGLEVELCON` env to `info` and when I exec into the container and inspect Oneagent's conf files, it actually uses the process group id as part of its internal file structure that it sets up at runtime.&lt;/P&gt;
&lt;P&gt;I've scoured the docs and settings options, and it doesn't appear that there is a setting I can change to toggle this. But maybe I'm missing something.&lt;/P&gt;
&lt;P&gt;Interestingly, when I run Oneagent on a Linux or Windows EC2 instance, the `dt.entity.process_group` &lt;EM&gt;is&lt;/EM&gt; included in the logs. We are committed as an organization to running our apps on Fargate, so simply running our apps on Linux is not an option. We're about to write our own logic to query Dynatrace at deploy time, manually look up the process group ID ourselves, and enrich out logs with this manually. This seems like a lot of work for what looks like it's supposed to be an off-the-shelf feature.&lt;/P&gt;
&lt;P&gt;Has anyone run into this problem before? Any suggestions? Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 08:17:48 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/214195#M68</guid>
      <dc:creator>eprogers</dc:creator>
      <dc:date>2025-05-26T08:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Enrich Fargate Logs with `dt.entity.process_group`</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/215522#M69</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This is expected by default since Fargate deployments are app-only and there is no Log Agent deployed (like it is with full stack deployments). Try enabling this OneAgent feature (it should start adding the process group metadata to the logs) to see if you get any better results&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ari_polavarapu_0-1687272286697.png" style="width: 757px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/12360iE1594917B975C623/image-dimensions/757x206?v=v2" width="757" height="206" role="button" title="ari_polavarapu_0-1687272286697.png" alt="ari_polavarapu_0-1687272286697.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This change does require a restart.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Ari&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2023 14:45:06 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/215522#M69</guid>
      <dc:creator>ari_polavarapu</dc:creator>
      <dc:date>2023-06-20T14:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enrich Fargate Logs with `dt.entity.process_group`</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/215956#M70</link>
      <description>&lt;P&gt;Hi Ari, its good to know that this is an expected behavior from Dynatrace and not just a configuration issue on my end. My team put together a custom workaround for this which I'll share in case it benefits anyone else. Our solution is roughly:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Determine our app's process group ID while we are creating/deploying our infrastructure&lt;OL&gt;&lt;LI&gt;If our app is being deployed for the first time and hasn't registered in Dynatrace or we can't determine the app's process group ID or any reason we just put in a dummy place holder value&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Set our app's process group ID as an environment variable for our log_router/fluentbit container&lt;/LI&gt;&lt;LI&gt;Modify the logs in our log_router/fluentbit to include a `dt.entity.process_group` field in each log and use the process Group ID environment variable as its value.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;We are able to achieve step #1 pretty easily because our IaC tool Pulumi has a provider for AWS that sets up our infrastructure and another provider for Dynatrace we can use to determine our process group. We can use both providers in the same stack so when we deploy our IaC it makes API calls to Dynatrace to determine process group ID, then passes that value into the code that sets up our ECS app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.pulumi.com/registry/packages/aws/api-docs/ecs/" target="_blank" rel="noopener"&gt;Pulumi ECS Docs&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.pulumi.com/registry/packages/dynatrace/api-docs/getprocessgroup/" target="_blank" rel="noopener"&gt;Pulumi Dynatrace Docs&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jun 2023 12:58:30 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/215956#M70</guid>
      <dc:creator>eprogers</dc:creator>
      <dc:date>2023-06-23T12:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Enrich Fargate Logs with `dt.entity.process_group`</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/258879#M71</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/6251"&gt;@ari_polavarapu&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;We are having a similar issue in our environment. Link added below.&lt;/P&gt;&lt;P&gt;We are using ECS/Docker/Fargate.&lt;/P&gt;&lt;P&gt;Would enabling the&amp;nbsp;&lt;STRONG&gt;Metadata context enrichment for logs [Opt-In]&lt;/STRONG&gt; setting resolve our issue?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ASE_0-1728596171979.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/23519iD1EE87D8C43D17B2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ASE_0-1728596171979.png" alt="ASE_0-1728596171979.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.dynatrace.com/t5/Container-platforms/Container-Logs-Not-Found-Containers-App/m-p/257905#M2668" target="_blank" rel="noopener"&gt;https://community.dynatrace.com/t5/Container-platforms/Container-Logs-Not-Found-Containers-App/m-p/257905#M2668&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 21:39:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/258879#M71</guid>
      <dc:creator>ASE</dc:creator>
      <dc:date>2024-10-10T21:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Enrich Fargate Logs with `dt.entity.process_group`</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/266928#M1181</link>
      <description>&lt;P&gt;did any one try getting ECS fargate&amp;nbsp; logs with one agent natively ?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 17:20:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/266928#M1181</guid>
      <dc:creator>vinnu_arige_moe</dc:creator>
      <dc:date>2025-01-08T17:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Enrich Fargate Logs with `dt.entity.process_group`</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/296495#M1546</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/62446"&gt;@eprogers&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wanted to understand how logs are enabled for Fargate in your environment - are you using Fluent Bit for log forwarding?&lt;/P&gt;&lt;P&gt;Also, could you confirm which approach you followed for ECS instrumentation: runtime injection or deploying the OneAgent container as a daemon service?&lt;/P&gt;&lt;P&gt;We are also looking to enable log enrichment for trace–log correlation. From our understanding, automatic enrichment works when OneAgent handles log ingestion, so I assume you might be using the OneAgent container as a daemon service. Could you please confirm your setup?&lt;/P&gt;</description>
      <pubDate>Sun, 22 Mar 2026 16:30:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Enrich-Fargate-Logs-with-dt-entity-process-group/m-p/296495#M1546</guid>
      <dc:creator>mehakpuri01</dc:creator>
      <dc:date>2026-03-22T16:30:54Z</dc:date>
    </item>
  </channel>
</rss>

