<?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: Split logs that are ingested via API in Log Analytics</title>
    <link>https://community.dynatrace.com/t5/Log-Analytics/Split-logs-that-are-ingested-via-API/m-p/285541#M1439</link>
    <description>&lt;P&gt;It's been a long time since I wrote this message, but I just wanted to give the full solution for future generations.&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/19769"&gt;@marco_irmer&lt;/a&gt;&amp;nbsp;you are right, processing from this kind need to be done on Logstash with the help of plugins. Specifically, splitting records can be achieved with &lt;A href="https://www.elastic.co/docs/reference/logstash/plugins/plugins-filters-split" target="_self"&gt;split plugin&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Sep 2025 10:37:15 GMT</pubDate>
    <dc:creator>reshef</dc:creator>
    <dc:date>2025-09-08T10:37:15Z</dc:date>
    <item>
      <title>Split logs that are ingested via API</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Split-logs-that-are-ingested-via-API/m-p/280970#M1437</link>
      <description>&lt;P&gt;We recently set up log forwarding to Dynatrace Api via logstash.&lt;/P&gt;&lt;P&gt;In logstash we can see these responses from Dynatrace Api:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;body=&amp;gt;"{\"success\":{\"code\":200,\"message\":\"Some events were limited. Following limits were applied: Log Event attribute value size is too large, will be truncated.\"}}"&lt;/LI-CODE&gt;&lt;P&gt;We can see in Dynatrace that content of the logs ingested via logstash is indeed huge, but it turns out it's due to the fact that &lt;STRONG&gt;each log record contains multiple logs records merged inside it&lt;/STRONG&gt; (see attached log content with 15 merged logs). Moreover, I suspect that the reason almost no field extracted for these logs in Dynatrace have been caused by this issue.&lt;BR /&gt;&lt;BR /&gt;Is there a way to split the logs records? I noticed there is a setting for splitting logs which are ingested with OneAgent but I haven't found how to do this option with other logs.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 14:30:22 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Split-logs-that-are-ingested-via-API/m-p/280970#M1437</guid>
      <dc:creator>reshef</dc:creator>
      <dc:date>2025-07-07T14:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Split logs that are ingested via API</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Split-logs-that-are-ingested-via-API/m-p/281210#M1438</link>
      <description>&lt;P&gt;The ingest endpoint on Dynatrace SaaS supports receiving multiple events in a single payload if JSON us used, but the format has to match what the API is expecting. I believe it has to come in as an array of JSON objects in order for the events to automatically be split. Reference is available &lt;A href="https://docs.dynatrace.com/docs/shortlink/api-log-monitoring-v2-post-ingest#request-body-json-model" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;For plain text format events, only a single event is supported per API call. In this case, logstash would need to be adjusted to not send multiple log events in a single API call.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 22:28:24 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Split-logs-that-are-ingested-via-API/m-p/281210#M1438</guid>
      <dc:creator>marco_irmer</dc:creator>
      <dc:date>2025-07-09T22:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Split logs that are ingested via API</title>
      <link>https://community.dynatrace.com/t5/Log-Analytics/Split-logs-that-are-ingested-via-API/m-p/285541#M1439</link>
      <description>&lt;P&gt;It's been a long time since I wrote this message, but I just wanted to give the full solution for future generations.&lt;BR /&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/19769"&gt;@marco_irmer&lt;/a&gt;&amp;nbsp;you are right, processing from this kind need to be done on Logstash with the help of plugins. Specifically, splitting records can be achieved with &lt;A href="https://www.elastic.co/docs/reference/logstash/plugins/plugins-filters-split" target="_self"&gt;split plugin&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Sep 2025 10:37:15 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Log-Analytics/Split-logs-that-are-ingested-via-API/m-p/285541#M1439</guid>
      <dc:creator>reshef</dc:creator>
      <dc:date>2025-09-08T10:37:15Z</dc:date>
    </item>
  </channel>
</rss>

