# Logstash breaks my log line into multiple documets

**URL:** <https://discuss.elastic.co/t/logstash-breaks-my-log-line-into-multiple-documets/215156>\
**Category:** Logstash\
**Created:** [January 15, 2020, 2:34pm UTC](https://discuss.elastic.co/t/logstash-breaks-my-log-line-into-multiple-documets/215156 "2020-01-15T14:34:11Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![kasra](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@kasra](https://discuss.elastic.co/u/kasra)\
**Post date:** [February 2, 2020, 12:33pm UTC](https://discuss.elastic.co/t/logstash-breaks-my-log-line-into-multiple-documets/215156/13 "2020-02-02T12:33:49Z")

</div>

finally I found the root cause..  
I've created another issue (topic)  
i would appreciate your help in advance

> [@4096 characters input limitation! missing part of logs in message field](https://discuss.elastic.co/t/4096-characters-input-limit-missing-part-of-logs-in-message-field/217522):
>
> I have issue with sending logs which have more than 4096 characters! the thing is some of my logs contain more than 4096 characters and the result is jsonparsefailure . I have also used multiline codec for my input but it doesn't make any effect. my log format is : a nested array of JSON [JSON,JSON] input { stdin { codec =\> multiline { pattern =\> "\n" negate =\> false what =\> "previous" } } } filter { json { source =\> "message" target =\> "mes…

by the way I was not sure If it was ok to create a new topic for it or keep on discussing on this topic.  
If it is not ok, plz sb inform me, I can close this then.

---

_[View the full topic](https://discuss.elastic.co/t/logstash-breaks-my-log-line-into-multiple-documets/215156)._
