# Logstash split long json with beats input

**URL:** <https://discuss.elastic.co/t/logstash-split-long-json-with-beats-input/172489>\
**Category:** Logstash\
**Created:** [March 15, 2019, 8:56am UTC](https://discuss.elastic.co/t/logstash-split-long-json-with-beats-input/172489 "2019-03-15T08:56:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergey.k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sergey.k/32/23153_2.png) [@Sergey.k](https://discuss.elastic.co/u/Sergey.k)\
**Post date:** [March 15, 2019, 8:56am UTC](https://discuss.elastic.co/t/logstash-split-long-json-with-beats-input/172489/1 "2019-03-15T08:56:09Z")

</div>

When long json log with xml insertion being processed in logstash it split one line into two with \_jsonparefailure tag.

logstash 6.2.4  
CentOS Linux release 7.4.1708 (Core)

```
input{
  beats {
    port => 5001
  }
}

filter {
    json {
      source => "message"
    }
}

```

for example i have one json in application and see two messages in kibana

1 message

{"@timestamp":"2019-03-14T14:20:39.820+03:00", ...

2 message

... "operation":"Invoke create Request"}

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 12, 2019, 8:56am UTC](https://discuss.elastic.co/t/logstash-split-long-json-with-beats-input/172489/2 "2019-04-12T08:56:14Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
