logstash-plugins / logstash-input-s3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't get logs from specific subdirectory

saltzmanjoelh opened this issue · comments

I have logstash 5.1.1 and input-s3 plugin 3.1.1

When I try to get logs from a specific subdirectory, the input plugin doesn't find them. I have to put all logs in the root of the bucket for the plugin to find them.

input {
s3 {
bucket => "mybucket"
prefix => some/sub/directory/
access_key_id => "..."
secret_access_key => "..."
}
}

input {
s3 {
bucket => "mybucket"
prefix => "some/sub/directory/" #quotes
access_key_id => "..."
secret_access_key => "..."
}
}