# Broken JSON (Rsyslog -\> Logstash) - Message breaking in wrong place

**URL:** <https://discuss.elastic.co/t/broken-json-rsyslog-logstash-message-breaking-in-wrong-place/206424>\
**Category:** Logstash\
**Created:** [November 4, 2019, 2:47pm UTC](https://discuss.elastic.co/t/broken-json-rsyslog-logstash-message-breaking-in-wrong-place/206424 "2019-11-04T14:47:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![iget-master](https://avatars.discourse-cdn.com/v4/letter/i/f17d59/32.png) [@iget-master](https://discuss.elastic.co/u/iget-master)\
**Post date:** [November 4, 2019, 2:59pm UTC](https://discuss.elastic.co/t/broken-json-rsyslog-logstash-message-breaking-in-wrong-place/206424/2 "2019-11-04T14:59:21Z")

</div>

Searching again I found this topic: [JSON data split up (\_jsonparseerror) in logstash-7.2.0-1. Works fine in logstash-7.1.1-1](https://discuss.elastic.co/t/json-data-split-up-jsonparseerror-in-logstash-7-2-0-1-works-fine-in-logstash-7-1-1-1/190624/4)

Looks like my problem is similar. I just changed my codec from `json` to `json_lines` and will wait a few hours to check if the problem disappear.

---

_[View the full topic](https://discuss.elastic.co/t/broken-json-rsyslog-logstash-message-breaking-in-wrong-place/206424)._
