I send data with filebeat and I want to use mutiline. Every event start with date like this : 2017-06-12T15:52:56.201_I_I_01de02a1ec3d0b28 [07:48] func will be continued(0,0000000001800094)
In logstash I used the following pattern : pattern => "^%{TIMESTAMP_ISO8601}" But with filebeat it doesn't work. I used also this pattern : '^[0-9]{4}-[0-9]{2}-[0-9]{2}' but it doesn't work also.
# Mutiline can be used for log messages spanning multiple lines. This is common
# for Java Stack Traces or C-Line Continuation
# The regexp Pattern that has to be matched. The example pattern matches all lines starting with [
multiline.pattern: '^\[0-9]{4}-[0-9]{2}-[0-9]{2}'
#multiline.pattern: '^\['
# Defines if the pattern set under pattern should be negated or not. Default is false.
multiline.negate: true
# Match can be set to "after" or "before". It is used to define if lines should be append to a pattern
# that was (not) matched before or after or as long as a pattern is not matched based on negate.
# Note: After is the equivalent to previous and before is the equivalent to to next in Logstash
multiline.match: before
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.