I have a directory with multiple log file [*.log], among which i need to exclude few logs that starts with CBATest.log,BPLTest.log and ARCTest.log. Below provided is the configuration used. But these files are not excluded while processing.
Kindly help resolve this.
file {
path => "E:/domain/DEV/application/logs/.log"
exclude => [ "E:/domain/DEV/application/logs/CBA.log", "E:/domain/DEV/application/logs/BPL*.log" , "E:/domain/DEV/application/logs/ARC*.log" ]
type => "esbbwlog"
codec => multiline {
patterns_dir => "/patterns/devbw"
pattern => "^%{BWTIME}"
negate => true
what => "previous"
max_lines => "1000"
}