# Reading files from ZIP folder using logstash

**URL:** <https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345>\
**Category:** Logstash\
**Created:** [October 1, 2025, 9:45am UTC](https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345 "2025-10-01T09:45:46Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![venkatkumar229](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatkumar229/32/104663_2.png) [@venkatkumar229](https://discuss.elastic.co/u/venkatkumar229)\
**Post date:** [October 1, 2025, 9:45am UTC](https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345/1 "2025-10-01T09:45:46Z")

</div>

Hi Team,

I wanted to read the files from a zipped folder on the server is it possible to read them using logstash. If yes could you please let me know the procedure.

Logstash version: 8.18.1

---

<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:** [October 1, 2025, 1:26pm UTC](https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345/2 "2025-10-01T13:26:08Z")

</div>

The [file input](https://www.elastic.co/docs/reference/logstash/plugins/plugins-inputs-file) can read zipped files in read mode. Do you want to read zipped files or a zipped folder?

---

<div class="post-metadata">

**Author:** ![venkatkumar229](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatkumar229/32/104663_2.png) [@venkatkumar229](https://discuss.elastic.co/u/venkatkumar229)\
**Post date:** [October 1, 2025, 4:58pm UTC](https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345/3 "2025-10-01T16:58:43Z")

</div>

Hi @Badger , Thank you for the input. I want to read the files in a zipped folder. Could you please help me if there is any way to read them through logstash directly.

---

<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:** [October 1, 2025, 10:49pm UTC](https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345/4 "2025-10-01T22:49:04Z")

</div>

I couldn’t find a way to do it.

---

<div class="post-metadata">

**Author:** ![venkatkumar229](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatkumar229/32/104663_2.png) [@venkatkumar229](https://discuss.elastic.co/u/venkatkumar229)\
**Post date:** [October 3, 2025, 8:39am UTC](https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345/5 "2025-10-03T08:39:51Z")

</div>

Hi @Badger ,

Could you please help me how can we read the zipped files then using file input plugin. Could you please help me with sample input configuration for the same.

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 3, 2025, 12:23pm UTC](https://discuss.elastic.co/t/reading-files-from-zip-folder-using-logstash/382345/6 "2025-10-03T12:23:30Z")

</div>

Hello,

You need to share what configuration you are using in the input, you do not need to do any extra configuration to read zipped files, you configure your input to read a folder where your zipped files are.
