# Filebeats 7.5.0 issue with s3 input with gzip files

**URL:** https://discuss.elastic.co/t/filebeats-7-5-0-issue-with-s3-input-with-gzip-files/210800
**Category:** Beats
**Tags:** filebeat
**Created:** [December 6, 2019, 1:52am UTC](https://discuss.elastic.co/t/filebeats-7-5-0-issue-with-s3-input-with-gzip-files/210800 "2019-12-06T01:52:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ronin](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Ronin](https://discuss.elastic.co/u/Ronin)
#### Post date: [December 6, 2019, 1:52am UTC](https://discuss.elastic.co/t/filebeats-7-5-0-issue-with-s3-input-with-gzip-files/210800/1 "2019-12-06T01:52:21Z")

</div>

I have verified that the following issue works under 7.4.2 correctly.

If a file is a gzip file it can not be decombressed under 7.5.0. The following log messages are provided:

```auto
ERROR [s3] s3/input.go:259 handleS3Objects failed: newS3BucketReader failed: Failed to decompress gzipped file s3file.txt.gz: gzip: invalid header
panic: send on closed channel

goroutine 121 [running]:

github.com/elastic/beats/x-pack/filebeat/input/s3.(*s3Input).processMessage(0xc0000db340, 0x34b5c20, 0xc000484190, 0x0, 0xc0009d0250, 0xc0009d02d0, 0x0, 0x0, 0xc0009d0300, 0xc0009d0330, ...)

/go/src/github.com/elastic/beats/x-pack/filebeat/input/s3/input.go:260 +0x2f6

created by github.com/elastic/beats/x-pack/filebeat/input/s3.(*s3Input).processor

/go/src/github.com/elastic/beats/x-pack/filebeat/input/s3/input.go:240 +0x19c

```

---

<div class="post-metadata">

### Author: ![Ronin](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@Ronin](https://discuss.elastic.co/u/Ronin)
#### Post date: [December 6, 2019, 4:41pm UTC](https://discuss.elastic.co/t/filebeats-7-5-0-issue-with-s3-input-with-gzip-files/210800/2 "2019-12-06T16:41:24Z")

</div>

Looks like this may be related to [https://github.com/elastic/beats/pull/13980](https://github.com/elastic/beats/pull/13980), but this says gzip support was added for 7.5.0, however we were using gzip in 7.4.2 without any issue.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [January 3, 2020, 4:41pm UTC](https://discuss.elastic.co/t/filebeats-7-5-0-issue-with-s3-input-with-gzip-files/210800/3 "2020-01-03T16:41:43Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
