HI
I have seen few topics on logstash supporting reading from the gz files.
Would like to know if this feature is supported !! I am using logstash 2.1.0. If supported please share me the sample input config.
Below is my config.
input {
file {
type => "gzip"
path => "/syslog/applog/notif/delwin23/sc5/HCPTapp.log.2015_11_29*.gz"
start_position => "beginning"
sincedb_path => "gzip"
codec => "gzip_lines"
}
}
output {
stdout { codec => json }
}
Output:
bash-3.2$ ./logstash -f ns_off.cnf
io/console not supported; tty will not be manipulated
Settings: Default filter workers: 2
Logstash startup completed
Logstash shutdown completed
bash-3.2$
It seems the file is not read.
Thanks