# Using Logstash 5.5 for reading .gz files

**URL:** https://discuss.elastic.co/t/using-logstash-5-5-for-reading-gz-files/97947
**Category:** Logstash
**Created:** [August 22, 2017, 4:59pm UTC](https://discuss.elastic.co/t/using-logstash-5-5-for-reading-gz-files/97947 "2017-08-22T16:59:16Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![shashwat](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@shashwat](https://discuss.elastic.co/u/shashwat)
#### Post date: [August 26, 2017, 6:13am UTC](https://discuss.elastic.co/t/using-logstash-5-5-for-reading-gz-files/97947/4 "2017-08-26T06:13:10Z")

</div>

Following the different threads ([https://www.elastic.co/guide/en/logstash/current/offline-plugins.html](https://www.elastic.co/guide/en/logstash/current/offline-plugins.html) and [Read a gzip file with gzip\_lines codec](https://discuss.elastic.co/t/read-a-gzip-file-with-gzip-lines-codec/24558/12)), I built gzip\_lines plugin on my Linux (offline) server. Also, I did not reference the .gz files directly from my logstash conf file but I kept them (their absolute paths) in a .txt file line by line. BUT, logstash still not working as expected, it reads that text file line by line and not parsing the .gz files mentioned in it. can any one can help on this?

---

_[View the full topic](https://discuss.elastic.co/t/using-logstash-5-5-for-reading-gz-files/97947)._
