Hello.
Weird topic, but this is how see this problem.
So.
Currently we are parsing multiline on logstash side. I want to move multiline to filebeat.
Now.
- I comment out
codec => multiline {
...
} - restart logstash
- Add multiline to filebeat.
- Restart filebeat.
Result. Does not work and in tags I see beats_input_codec_plain_applied
If I uncomment
codec => multiline {
...
}
and restart logstash
In tags I see lgs-multiline, beats_input_codec_multiline_applied
lgs-multiline is my special tag.
My question. Why with logstash codec => multiline filebeats, sort of, works but without it does not?
filebeat multiline config>
multiline.pattern: '^\d{4}-\d{2}-\d{2}[[:space:]]{1,4}\d{2}:\d{2}:\d{2}\.\d{2,4}\+\d{2,4}[[:space:]]{1,4}' multiline.negate: true multiline.max_lines: 9000 multiline.match: after
What is the right configuration for filebeat, in order to process multiline properly?