<?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: dynatrace_ingest for logs? in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302033#M39269</link>
    <description>&lt;P&gt;You mean ingest logs from local to SaaS cluster?&lt;BR /&gt;For this use case, you would use the log ingest API and curl, or powershell.&lt;BR /&gt;You first need to create an API log.ingest token and then run somthing like&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tail -f /var/log/syslog | while read line; do
curl -X POST "http://&amp;lt;tenantFQDN&amp;gt;/v2/logs/ingest" \
-H "Content-Type: application/json" \
-H "Authorization: Api-Token &amp;lt;your-token&amp;gt;" \
-d "{\"content\": \"$line\"}"
done&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;In this blog, OTel was used to ingest logs extracted from a local json file on a raspberry pi:&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/news/blog/leverage-edge-iot-data-with-opentelemetry-and-dynatrace/" target="_blank"&gt;Leverage edge IoT data with OpenTelemetry and Dynatrace&lt;/A&gt;&lt;BR /&gt;Details are explained in Step 5.&lt;BR /&gt;&lt;BR /&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Jul 2026 22:19:28 GMT</pubDate>
    <dc:creator>JustSchwendi</dc:creator>
    <dc:date>2026-07-16T22:19:28Z</dc:date>
    <item>
      <title>dynatrace_ingest for logs?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302004#M39266</link>
      <description>&lt;P&gt;dynatrace_ingest can ingest metrics locally. But if we want to ingest logs locally, suggested way is with a curl command.&lt;BR /&gt;Is there a way to pipe output from a Linux/Windows command, through dynatrace_ingest, or something similar?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2026 09:42:13 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302004#M39266</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2026-07-16T09:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: dynatrace_ingest for logs?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302013#M39267</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you have OneAgent, you can ingest custom logs base on tomcus&lt;SPAN&gt;&amp;nbsp;log course and ingestion rules.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2026 12:55:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302013#M39267</guid>
      <dc:creator>AntonPineiro</dc:creator>
      <dc:date>2026-07-16T12:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: dynatrace_ingest for logs?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302027#M39268</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/58682"&gt;@AntonPineiro&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;The idea is to not have log files in the first place, so I don't have to write to disk. Something like:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;./my_program -v | dynatrace_ingest&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 16 Jul 2026 18:49:10 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302027#M39268</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2026-07-16T18:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: dynatrace_ingest for logs?</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302033#M39269</link>
      <description>&lt;P&gt;You mean ingest logs from local to SaaS cluster?&lt;BR /&gt;For this use case, you would use the log ingest API and curl, or powershell.&lt;BR /&gt;You first need to create an API log.ingest token and then run somthing like&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;tail -f /var/log/syslog | while read line; do
curl -X POST "http://&amp;lt;tenantFQDN&amp;gt;/v2/logs/ingest" \
-H "Content-Type: application/json" \
-H "Authorization: Api-Token &amp;lt;your-token&amp;gt;" \
-d "{\"content\": \"$line\"}"
done&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;In this blog, OTel was used to ingest logs extracted from a local json file on a raspberry pi:&lt;BR /&gt;&lt;A href="https://www.dynatrace.com/news/blog/leverage-edge-iot-data-with-opentelemetry-and-dynatrace/" target="_blank"&gt;Leverage edge IoT data with OpenTelemetry and Dynatrace&lt;/A&gt;&lt;BR /&gt;Details are explained in Step 5.&lt;BR /&gt;&lt;BR /&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jul 2026 22:19:28 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/dynatrace-ingest-for-logs/m-p/302033#M39269</guid>
      <dc:creator>JustSchwendi</dc:creator>
      <dc:date>2026-07-16T22:19:28Z</dc:date>
    </item>
  </channel>
</rss>

