Skip to content

Commit e3cdd9d

Browse files
committed
Set multiline codec parameter 'what' to 'next'. The pattern (section z) marks the end of an event, not the beginning. Otherwise the section z of the previous event will be assigned to the current event.
1 parent ce1eca6 commit e3cdd9d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

1000_input_stdin_example.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ input {
66
codec => multiline {
77
pattern => "^--[a-fA-F0-9]{8}-Z--$"
88
negate => true
9-
what => previous
9+
what => next
1010
}
1111
}
1212

1010_input_file_example.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ input {
1414
charset => "US-ASCII"
1515
pattern => "^--[a-fA-F0-9]{8}-Z--$"
1616
negate => true
17-
what => previous
17+
what => next
1818
}
1919
}
2020
}

0 commit comments

Comments
 (0)