# Is Codec =\> gzip\_lines supported on 5.1.2?

**URL:** <https://discuss.elastic.co/t/is-codec-gzip-lines-supported-on-5-1-2/79684>\
**Category:** Logstash\
**Created:** [March 23, 2017, 4:51am UTC](https://discuss.elastic.co/t/is-codec-gzip-lines-supported-on-5-1-2/79684 "2017-03-23T04:51:52Z")\
**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:** [March 23, 2017, 4:51am UTC](https://discuss.elastic.co/t/is-codec-gzip-lines-supported-on-5-1-2/79684/1 "2017-03-23T04:51:52Z")

</div>

I am trying to read a local gzipped file with below, but i can't even install gzip. Error also below. Is it supported yet?

```
file {
path => "/Users/alliey/Desktop/log_file/generic20161017.log.gz"
start_position => "beginning"
type => "json"
codec => gzip_lines{ charset => "UTF-8" }
 }

```

error:  
`In Gemfile: logstash-codec-gzip_lines (>= 0) java depends on logstash (< 2.0.0, >= 1.4.0) java Could not find gem 'logstash (< 2.0.0, >= 1.4.0) java', which is required by gem 'logstash-codec-gzip_lines (>= 0) java', in any of the sources`

---

<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:** [April 20, 2017, 4:51am UTC](https://discuss.elastic.co/t/is-codec-gzip-lines-supported-on-5-1-2/79684/2 "2017-04-20T04:51:57Z")

</div>

Closed on April 20, 2017, 4:51am UTC

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