hi guys,
i have a log file which consists of below pattern , i need to treat all lines of this log file as 1 aggregate event.file will close after 30 minutes and then new log will start..which pattern will work here... i am trying to use if line ends with new line feed , then merge next line with previous line ...but how to tell logstash that file has ended
codec => multiline {
pattern => ".*\r"
negate => false
what => "next"
log format
DEBUG:root:some data
DEBUG:root:some data
DEBUG:root:exception
DEBUG:root:error occured
method finished
INFO:root:some data
INFO:root:
INFO:root:
INFO:root:
method complete