How to give hidden file path in input.conf for file input plugin

input{
file {
exclude => "*.gz"
path => "/home/abc/work/.productLogs/.auditLogs/.auditLog"
type => "audit"
start_position => "beginning"
sincedb_path => "/dev/null"
stat_interval => 5
ignore_older => 0
}
}

how to read logs from hidden files in logstash?

In filebeat, setting ignore_older to zero turns off age based filtering.

In logstash, setting ignore_older to zero ignores any files more than zero second old, which is all files.

Since your path option is not a wildcard, the exclude option is harmless, but will be effectively ignored.

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