I've configured FileBeat to send multiline logs using the following config:
-
paths:
- /opt/wls/domains/filename.log
input_type: log
document_type: log_doc
multiline:
pattern: ^%{TIMESTAMP_ISO8601}
negate: true
match: after
As I know, it should append all the lines to the previous one, until it finds a line, which starts with a timestamp (TIMESTAMP_ISO8601).
In my case with this setting filebeat sends several log messages grouped to one single. My log messages start like this:
2016-10-14 20:31:07,447 INFO [ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)' ...
It should match to ^%{TIMESTAMP_ISO8601}
, so what can be the problem? Why are they sent as one message?
Thank You.
P.S. I've also tried with ^%{YYYY}
and ^%{YEAR}
patterns, but the result was the same...