Reading from multiple files using wildcard

Hi! I want to read from multiple log files using file input plugin

For ex,

input {
file {
path => ["/var/log/search.log*"]
type => "red_searchlog"
sincedb_path => "/dev/null"
start_position => "beginning"
}
}

my log files are: search.log, search.log.1, search.log.2, search.log.3 and so on
Can I use wildcard in this case?

Yes.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.