Hello,
I have following config for logstash..
input {
file {
path => "/appl/log/TestLogs/*.log"
start_position => "beginning"
sincedb_path => "/appl/log/sincedbloc/sincedbfile.txt"
}
}
filter{
multiline{
pattern => "[#|\d{4}"
negate => true
what => "previous"
}
grok{
match => {"message" => "%{DATESTAMP:time-stamp}%{SPACE}%{LOGLEVEL:log-level}%{SPACE}%{DATA:class}:%{SPACE}%{GREEDYDATA:log-message}" }
}
}
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout{}
file{
path => "/appl/log/TestLogsOutput/LogStash_output.log"
}
}
As soon as I introduced multiline filter and restarted logstash.. I got following message..
Defaulting pipeline worker threads to 1 because there are some filters that might not work with multiple worker threads", :count_was=>4, :filters=>["multiline"], :level=>:warn}
blogs suggest to use FileBeat..
Can anyone advice is there any alternate or I should go with FileBeat?
Thanks
Fredrick