# Does Logstash (7.0.1) support gzip file input?

**URL:** <https://discuss.elastic.co/t/does-logstash-7-0-1-support-gzip-file-input/181862>\
**Category:** Logstash\
**Created:** [May 20, 2019, 3:22pm UTC](https://discuss.elastic.co/t/does-logstash-7-0-1-support-gzip-file-input/181862 "2019-05-20T15:22:35Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 20, 2019, 4:04pm UTC](https://discuss.elastic.co/t/does-logstash-7-0-1-support-gzip-file-input/181862/2 "2019-05-20T16:04:18Z")

</div>

That's odd. The line that is throwing an exception is [this](https://github.com/logstash-plugins/logstash-input-file/blob/082897a66c8410b6b343083146307275d530c88b/lib/filewatch/read_mode/handlers/read_zip_file.rb#L26). The readline method of a java.io.BufferedReader does not take an argument, so I would expect that exception. However, it works just fine for me.

---

_[View the full topic](https://discuss.elastic.co/t/does-logstash-7-0-1-support-gzip-file-input/181862)._
