logstash-plugins / logstash-input-s3

Apache License 2.0
57 stars 150 forks source link

Skip S3 objects that have been archived to glacier #160

Closed yaauie closed 6 years ago

yaauie commented 6 years ago

When a bucket contains objects that have been archived to glacier, they will be present in the listing, but will have a storage_class of "GLACIER" and attempts to retrieve them will yield 4XX error responses, crashing the plugin.

This PR causes the input to skip objects that have been archived to glacier, emitting a clear message at debug-level.

SEE: