logstash-plugins / logstash-input-s3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

S3 subfolders

Ronsevet opened this issue · comments

Hi,

I cant seem to understand how to have the plugin use only a subfolder of the bucket, I have a huge bucket with BI data that only a subfolder of it is relevant for my ELK setup, Is there a way to simply set a directive to the plugin to only lookup in a single folder (better yet third-fourth sub folder) ?

Thanks,

Ron

Set the prefix to the directory, i.e.:

Files located /subdirectory/*

prefix => "subdirectory/"