Logstash ignore continuous newline


#1

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


(system) #2

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