# Split logs that are ingested via API

**URL:** <https://community.dynatrace.com/t/split-logs-that-are-ingested-via-api/52386>\
**Category:** Logs\
**Tags:** openpipeline, log-processing, logs\
**Created:** [July 7, 2025, 2:19pm UTC](https://community.dynatrace.com/t/split-logs-that-are-ingested-via-api/52386 "2025-07-07T14:19:07Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![reshef](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@reshef](https://community.dynatrace.com/u/reshef)\
**Post date:** [July 7, 2025, 2:19pm UTC](https://community.dynatrace.com/t/split-logs-that-are-ingested-via-api/52386/1 "2025-07-07T14:19:07Z")

</div>

We recently set up log forwarding to Dynatrace Api via logstash.

In logstash we can see these responses from Dynatrace Api:

```markup
body=>"{\"success\":{\"code\":200,\"message\":\"Some events were limited. Following limits were applied: Log Event attribute value size is too large, will be truncated.\"}}"

```

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 **each log record contains multiple logs records merged inside it** (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.

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.

Thanks!

 ![log content.png](https://global.discourse-cdn.com/dynatrace/original/2X/6/60a0ab57fe3bde1691f9ef53e2b1556ca0d7b400.png)  
 ![logs.png](https://global.discourse-cdn.com/dynatrace/original/3X/5/2/5288999f537ab7675012f5a202cfea5d358661e6.png)

---

_[View the full topic](https://community.dynatrace.com/t/split-logs-that-are-ingested-via-api/52386)._
