Hello.
I'm looking to append a java stacktrace to the previous log line which is the application error. I was previously able to achieve this in logstash with the following:
multiline {
pattern => "(^.+Exception: .+)|(^\s+at .+)|(^\s+... \d+ more)|(^\s*Caused by:.+)"
patterns_dir => "/opt/logstash/etc/patterns"
what => "previous"
}
Is this possible in filebeat?
pattern: '(^.+Exception: .+)|(^\s+at .+)|(^\s+... \d+ more)|(^\s*Caused by:.+)'
negate: false
match: after
max_lines: 5000