<?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: Not able to ingest application log files using OneAgent on a Fargate container in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Not-able-to-ingest-application-log-files-using-OneAgent-on-a/m-p/257917#M379</link>
    <description>&lt;P&gt;Hello, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51688"&gt;@paul2perth&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;This behavior sounds very similar to what we're experiencing with our ECS/Fargate Containers.&lt;/P&gt;&lt;P&gt;When I view an ECS/EC2 Cluster in the &lt;STRONG&gt;Hosts&lt;/STRONG&gt; app, it automatically detects all available Log Sources.&lt;/P&gt;&lt;P&gt;But when I view an ECS/Fargate Cluster in the &lt;STRONG&gt;Containers&lt;/STRONG&gt; app, it does not automatically detect all available Log Sources.&lt;/P&gt;&lt;P&gt;Both configs have OneAgent installed.&lt;/P&gt;&lt;P&gt;The issue could be related to us using ECS/Fargate. &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Perhaps the info provided to me can help you with your troubleshooting:&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"&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, 03 Oct 2024 02:18:23 GMT</pubDate>
    <dc:creator>ASE</dc:creator>
    <dc:date>2024-10-03T02:18:23Z</dc:date>
    <item>
      <title>Not able to ingest application log files using OneAgent on a Fargate container</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Not-able-to-ingest-application-log-files-using-OneAgent-on-a/m-p/248492#M377</link>
      <description>&lt;P&gt;I have deployed OneAgent onto my Fargate container which is primarily running nginx and Flask/Python with uWSGI.&lt;/P&gt;
&lt;P&gt;The container shows as a host through Hosts Classic fine.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The application log file is written to /var/log/app/ as action.log which should meet the security criteria.&lt;/LI&gt;
&lt;LI&gt;The container root file system is read-only.&lt;/LI&gt;
&lt;LI&gt;A number of volumes and mount points have been added for
&lt;UL&gt;
&lt;LI&gt;logging nginx and uWSGI,&lt;/LI&gt;
&lt;LI&gt;OneAgent logs and datastorage,&lt;/LI&gt;
&lt;LI&gt;/tmp and&lt;/LI&gt;
&lt;LI&gt;/var/log/app directory structure.&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Under the host I'm not seeing any automatically detected logs so have tried to add /var/log/app&lt;/P&gt;
&lt;P&gt;I have added&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A custom log source, against the nginx log source context and path /var/log/app/*&lt;/LI&gt;
&lt;LI&gt;A log ingest rule for /var/log/app/action.log&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Despite this I am still not able to see the logs being ingested in Logs &amp;amp; Events.&lt;/P&gt;
&lt;P&gt;I do have logs ingesting from my EC2 hosts without issue.&lt;/P&gt;
&lt;P&gt;Any help would be welcome.&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 07:09:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Not-able-to-ingest-application-log-files-using-OneAgent-on-a/m-p/248492#M377</guid>
      <dc:creator>paul2perth</dc:creator>
      <dc:date>2024-06-18T07:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to ingest application log files using OneAgent on a Fargate container</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Not-able-to-ingest-application-log-files-using-OneAgent-on-a/m-p/248500#M378</link>
      <description>&lt;P&gt;With fargate you should go through fluent bit&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-log-ingestion/lma-log-ingestion-via-api/lma-stream-logs-with-fluent-bit#ingest-aws-fargate-logs-with-fluent-bit" target="_blank"&gt;https://docs.dynatrace.com/docs/observe-and-explore/logs/lma-log-ingestion/lma-log-ingestion-via-api/lma-stream-logs-with-fluent-bit#ingest-aws-fargate-logs-with-fluent-bit&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2024 07:22:32 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Not-able-to-ingest-application-log-files-using-OneAgent-on-a/m-p/248500#M378</guid>
      <dc:creator>PacoPorro</dc:creator>
      <dc:date>2024-06-18T07:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to ingest application log files using OneAgent on a Fargate container</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Not-able-to-ingest-application-log-files-using-OneAgent-on-a/m-p/257917#M379</link>
      <description>&lt;P&gt;Hello, &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51688"&gt;@paul2perth&lt;/a&gt;.&lt;/P&gt;&lt;P&gt;This behavior sounds very similar to what we're experiencing with our ECS/Fargate Containers.&lt;/P&gt;&lt;P&gt;When I view an ECS/EC2 Cluster in the &lt;STRONG&gt;Hosts&lt;/STRONG&gt; app, it automatically detects all available Log Sources.&lt;/P&gt;&lt;P&gt;But when I view an ECS/Fargate Cluster in the &lt;STRONG&gt;Containers&lt;/STRONG&gt; app, it does not automatically detect all available Log Sources.&lt;/P&gt;&lt;P&gt;Both configs have OneAgent installed.&lt;/P&gt;&lt;P&gt;The issue could be related to us using ECS/Fargate. &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Perhaps the info provided to me can help you with your troubleshooting:&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"&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, 03 Oct 2024 02:18:23 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Not-able-to-ingest-application-log-files-using-OneAgent-on-a/m-p/257917#M379</guid>
      <dc:creator>ASE</dc:creator>
      <dc:date>2024-10-03T02:18:23Z</dc:date>
    </item>
  </channel>
</rss>

