# Logstash ignore continuous newline

**URL:** <https://discuss.elastic.co/t/logstash-ignore-continuous-newline/121803>\
**Category:** Logstash\
**Created:** [February 28, 2018, 8:07am UTC](https://discuss.elastic.co/t/logstash-ignore-continuous-newline/121803 "2018-02-28T08:07:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![byungik](https://avatars.discourse-cdn.com/v4/letter/b/3da27b/32.png) [@byungik](https://discuss.elastic.co/u/byungik)\
**Post date:** [February 28, 2018, 8:07am UTC](https://discuss.elastic.co/t/logstash-ignore-continuous-newline/121803/1 "2018-02-28T08:07:50Z")

</div>

I use Logstash 6.1.1 version. I use stdin for input and multiline codec.  
and then I saw message. I input newline continuously 5 times but I there's only \n one time.  
I don't want to ignore blank newline because I have to split logs by blank newline.  
Is there has any configuration to ignoring blank newline?

I need your help.

here's my log samples. If you have any idea to split with other pattern also okay.

16-09-26 10:35:54.294 (35) execute\_all srv\_h\_id 14 DELETE FROM MSG\_RCV\_CC WHERE RCV\_ID = ?  
16-09-26 10:35:54.294 (35) bind 1 : VARCHAR (9)11282291  
16-09-26 10:35:56.723 (35) execute\_all 0 tuple 0 time 2.428

16-09-26 10:46:01.264 (35) execute\_all srv\_h\_id 14 DELETE FROM MSG\_RCV\_CC WHERE RCV\_ID = ?  
16-09-26 10:46:01.264 (35) bind 1 : VARCHAR (9)11282307  
16-09-26 10:46:03.686 (35) execute\_all 0 tuple 0 time 2.421

16-09-26 15:47:19.344 (24) execute\_all srv\_h\_id 3 INSERT INTO MSG\_RCV\_TEMP\_QUEUE (RCV\_ID, SERVER\_SIGN,CREATE\_DATE) VALUES (?, ?, CURRENT\_TIMESTAMP)  
16-09-26 15:47:19.344 (24) bind 1 : BIGINT 11292925  
16-09-26 15:47:19.344 (24) bind 2 : VARCHAR (16)tcwhpsns-91a901  
16-09-26 15:47:19.346 (24) execute\_all error:-670 tuple 1 time 0.001, EID = 10

---

<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:** [March 28, 2018, 8:07am UTC](https://discuss.elastic.co/t/logstash-ignore-continuous-newline/121803/2 "2018-03-28T08:07:52Z")

</div>

Closed on March 28, 2018, 8:07am UTC

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