[2016-08-24 11:49:14,389] Started new event
[2016-08-24 11:49:14,395] Content of processing something
[2016-08-24 11:49:14,399] End event
[2016-08-24 11:49:14,389] Started new event
[2016-08-24 11:49:14,395] Content of processing something
[2016-08-24 11:49:14,399] End event
my conf
- type: log
# Change to true to enable this input configuration.
enabled: true
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /Users/mac/logs/*.log
multiline.pattern: '^*Started new event'
multiline.negate: false
multiline.match: after
multiline.flush_pattern: '^*End event'
I am still seeing all the above logs are still going as individual logs . Not sure what am i doing wrong here
The log you have provided above are seems already in single line logs because every line is started with date and time. Thats why you are getting these logs as single line logs.
Can you please elaborate more what you want to achieve?
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.