how can i selectively only read certain files?:
The prefix setting below doesn't work.. What can i do??
My config below (i used CLI credential to terminal).
input {
s3 {
bucket => "fotolia-prod-logs"
prefix => "///**/event_log/generic.log.gz"
region => "eu-west-1"
type => "generic"
codec => "plain"
delete => false
}
}
filter {
grok{
break_on_match => false
match => { "message" => "%{SYSLOGBASE} %{GREEDYDATA:message}" }
overwrite => [ "message" ]
}
}
output {
stdout { codec => rubydebug }
}
Coz i only want to read generic.log.gz files.