logstash-plugins / logstash-input-s3

Apache License 2.0
57 stars 150 forks source link

Single batch run option: add an interval override for bucket listing. #161

Closed pranspach closed 6 years ago

pranspach commented 6 years ago

If watch_for_new_files is set to false, the plugin will only list the s3 bucket once and exit after processing completes.

This is consistent with the file Logstash plugin which exits after successfully processing files.

I opened a ticket for discussion. Please review -- I'd like to work with you guys to add this functionality. @yaauie

pranspach commented 6 years ago

Thanks @yaauie -- fixed.

pranspach commented 6 years ago

@yaauie Any more feedback on this PR? Your suggested change that I implemented has been working well for me.

yaauie commented 6 years ago

@pranspach I've pulled this into a new PR (#162) that adds docs etc., and will merge it once the build goes green.

Thanks for your contribution :tada: