You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With filebeat 7.5.0 gzip no longer works if the Content-Type is set to text/plain; charset=utf-8 and Content-Encoding of gzip. This worked on 7.4.2. However, we have a separate bucket that has Content-Type set to application/x-gzip for the files and that works in 7.5.0.
Hi @nathankodilla, could you help me reproduce this problem please? What does your log file in S3 bucket looks like? Does the file name ends with .gz? Thanks!!
I'm able to reproduce this issue: for a .gz file with Content-Type: application/x-gzip, the s3 input reads the file just fine. But when the file metadata property changed to Content-Type: text/plain, s3 input fails with: 2019-12-23T11:12:01.255-0700 ERROR [s3] s3/input.go:259 handleS3Objects failed: newS3BucketReader failed: Failed to decompress gzipped file test-log-3.txt.gz: unexpected EOF.
With filebeat 7.5.0 gzip no longer works if the
Content-Type
is set totext/plain; charset=utf-8
andContent-Encoding
ofgzip
. This worked on 7.4.2. However, we have a separate bucket that has Content-Type set toapplication/x-gzip
for the files and that works in 7.5.0.Logs:
Originally opened here:
https://discuss.elastic.co/t/filebeats-7-5-0-issue-with-s3-input-with-gzip-files/210800
The text was updated successfully, but these errors were encountered: