# Gzip input plugin not working for local gzip files?

**URL:** https://discuss.elastic.co/t/gzip-input-plugin-not-working-for-local-gzip-files/60440
**Category:** Logstash
**Created:** [September 13, 2016, 10:29pm UTC](https://discuss.elastic.co/t/gzip-input-plugin-not-working-for-local-gzip-files/60440 "2016-09-13T22:29:41Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Allie\_Yang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allie_yang/32/16538_2.png) [@Allie\_Yang](https://discuss.elastic.co/u/Allie_Yang)
#### Post date: [September 13, 2016, 10:29pm UTC](https://discuss.elastic.co/t/gzip-input-plugin-not-working-for-local-gzip-files/60440/1 "2016-09-13T22:29:41Z")

</div>

i am wondering if logstash can read local gzip files? It never worked before. Below is my config. Appreciate some advice, tks!

input {  
file {  
path =\> "/Users/Desktop/log\_file/test.log.gz"  
start\_position =\> "beginning"  
codec =\> "gzip\_lines"  
type =\> "gzip"  
ignore\_older =\> 0  
sincedb\_path =\> "/dev/null"  
}  
}

---

<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, 4:38am UTC](https://discuss.elastic.co/t/gzip-input-plugin-not-working-for-local-gzip-files/60440/2 "2017-07-06T04:38:39Z")

</div>


