# Shipping gzip files and unzipping them through logstash

**URL:** <https://discuss.elastic.co/t/shipping-gzip-files-and-unzipping-them-through-logstash/39698>\
**Category:** Logstash\
**Created:** [January 20, 2016, 8:24pm UTC](https://discuss.elastic.co/t/shipping-gzip-files-and-unzipping-them-through-logstash/39698 "2016-01-20T20:24:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmroz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmroz/32/62741_2.png) [@kmroz](https://discuss.elastic.co/u/kmroz)\
**Post date:** [January 20, 2016, 8:24pm UTC](https://discuss.elastic.co/t/shipping-gzip-files-and-unzipping-them-through-logstash/39698/1 "2016-01-20T20:24:26Z")

</div>

Hello,  
I am using all curent versions of the ELK stack and shipping with log-courier. I am shipping .gz files and they are being shipped but not uncompressed while using the gz\_lines codec.

input {  
courier {  
port =\> 9020  
type =\> "gzip"  
ssl\_certificate =\> "/etc/pki/tls/certs/logstash-forwarder.crt"  
ssl\_key =\> "/etc/pki/tls/private/logstash-forwarder.key"  
codec =\> gzip\_lines

}  
}  
this is my current input .. Any idea on how to get this to work?

Thanks!!

---

<div class="post-metadata">

**Author:** ![kmroz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmroz/32/62741_2.png) [@kmroz](https://discuss.elastic.co/u/kmroz)\
**Post date:** [January 21, 2016, 4:09pm UTC](https://discuss.elastic.co/t/shipping-gzip-files-and-unzipping-them-through-logstash/39698/2 "2016-01-21T16:09:35Z")

</div>

anyone have an idea on how to do this? this is a blocker on my end as of now.

---

<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:** [July 6, 2017, 5:14am UTC](https://discuss.elastic.co/t/shipping-gzip-files-and-unzipping-them-through-logstash/39698/3 "2017-07-06T05:14:55Z")

</div>

Closed on July 6, 2017, 5:14am UTC


