# Gzip\_lines codec not working

**URL:** <https://discuss.elastic.co/t/gzip-lines-codec-not-working/104752>\
**Category:** Logstash\
**Created:** [October 20, 2017, 8:39pm UTC](https://discuss.elastic.co/t/gzip-lines-codec-not-working/104752 "2017-10-20T20:39:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nairu](https://avatars.discourse-cdn.com/v4/letter/n/8baadc/32.png) [@nairu](https://discuss.elastic.co/u/nairu)\
**Post date:** [October 20, 2017, 8:39pm UTC](https://discuss.elastic.co/t/gzip-lines-codec-not-working/104752/1 "2017-10-20T20:39:44Z")

</div>

I'm using logstash(5.6.0) to read .gz file(has a list of .dat files) by using gzip\_lines codec. It appears the compressed file is not being read but I do not see any errors in the logstash logs and indexes in ElasticSearch. I have verified that the plugin is installed.

input {  
file {  
path =\> ["/opt/data/appl1/\*.gz"]  
type =\> "appl-test"  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
codec =\> "gzip\_lines"  
}  
}

---

<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:** [November 17, 2017, 8:39pm UTC](https://discuss.elastic.co/t/gzip-lines-codec-not-working/104752/2 "2017-11-17T20:39:47Z")

</div>

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