Multiline events from a file using Vector FILE source #8603
-
I am using the "file" source to read log lines and I need to use the multi-line feature to group >1 lines together. In the most general case, I want something like: "every new log line starts with a DATE and all lines that follows and doesn't starts with a DATE is part of the same event"
with this context I have couple of questions :
Sample Multi-line event :
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I don't think we have specific benchmarks comparing the multiline feature in the
It seems like your start_pattern could just be |
Beta Was this translation helpful? Give feedback.
I don't think we have specific benchmarks comparing the multiline feature in the
file
source to not enabling it, but it's currently faster than thereduce
transformation.It seems like your start_pattern could just be
.*
, and with your current mode ofhalt_before
you should continue to aggregate multiple lines (up until it sees the date lines).