Is there a way to split the load on multiple logstash instances to grab data from S3?
example:
I would like for logstash instance 1 to grab only files ending in 1 and 2
logstash instance 2 to grab files ending in 3 and 4
and so on.
S3 looks like:
bucket/2020/04/26/20/file001.gz
bucket/2020/04/26/20/file002.gz
bucket/2020/04/26/21/file003.gz
bucket/2020/04/27/01/file004.gz
bucket/2020/04/27/03/file005.gz
bucket/2020/04/28/18/file006.gz
bucket/2020/04/28/19/file007.gz
bucket/2020/04/28/20/file008.gz
....
is there a specific configuration option in logstash that allows for this?
or maybe a different plug-in? or solution?