# Problem with gzip\_lines codec

**URL:** https://discuss.elastic.co/t/problem-with-gzip-lines-codec/105235
**Category:** Logstash
**Created:** [October 25, 2017, 11:49am UTC](https://discuss.elastic.co/t/problem-with-gzip-lines-codec/105235 "2017-10-25T11:49:32Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![sbampa](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@sbampa](https://discuss.elastic.co/u/sbampa)
#### Post date: [October 25, 2017, 11:49am UTC](https://discuss.elastic.co/t/problem-with-gzip-lines-codec/105235/1 "2017-10-25T11:49:33Z")

</div>

Hi all,  
i'm using the following configuration in logstash:

```
file {
    type => "gzip"
    path => "/export/home/elastic/logstash-5.6.1/list.txt"
    start_position => "beginning"
    codec => gzip_lines
    add_field => { "log_type" => "prodvenproxypal" }

```

}

Plugin was installed, but i receive the following error:

[2017-10-25T13:43:35,627][ERROR][logstash.plugins.registry] Problems loading a plugin with {:type=\>"codec", :name=\>"gzip\_lines", :path=\>"logstash/codecs/gzip\_lines", :error\_message=\>"NameError", :error\_class=\>NameError, :error\_backtrace=\>["/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/plugins/registry.rb:226:in `namespace_lookup'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/plugins/registry.rb:162:in`legacy\_lookup'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/plugins/registry.rb:138:in `lookup'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/plugins/registry.rb:180:in`lookup\_pipeline\_plugin'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/plugin.rb:140:in `lookup'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/config/mixin.rb:416:in`validate\_value'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/config/mixin.rb:335:in `process_parameter_value'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/config/mixin.rb:354:in`validate\_check\_parameter\_values'", "org/jruby/RubyArray.java:1613:in `each'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/config/mixin.rb:348:in`validate\_check\_parameter\_values'", "org/jruby/RubyHash.java:1342:in `each'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/config/mixin.rb:347:in`validate\_check\_parameter\_values'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/config/mixin.rb:237:in `validate'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/config/mixin.rb:113:in`config\_init'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/inputs/base.rb:62:in `initialize'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/pipeline.rb:112:in`plugin'", "(eval):12:in `initialize'", "org/jruby/RubyKernel.java:1079:in`eval'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/pipeline.rb:75:in `initialize'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:319:in`reload\_pipeline!'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:111:in `reload_state!'", "org/jruby/RubyHash.java:1342:in`each'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:108:in `reload_state!'", "org/jruby/ext/thread/Mutex.java:149:in`synchronize'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:107:in `reload_state!'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:75:in`execute'", "org/jruby/RubyProc.java:281:in `call'", "/export/home/elastic/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/stud-0.0.23/lib/stud/interval.rb:20:in`interval'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:75:in `execute'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/runner.rb:316:in`execute'", "org/jruby/RubyProc.java:281:in `call'", "/export/home/elastic/logstash-5.6.1/vendor/bundle/jruby/1.9/gems/stud-0.0.23/lib/stud/task.rb:24:in`initialize'"]}  
[2017-10-25T13:43:35,631][ERROR][logstash.agent] Cannot create pipeline {:reason=\>"Couldn't find any codec plugin named 'gzip\_lines'. Are you sure this is correct? Trying to load the gzip\_lines codec plugin resulted in this error: Problems loading the requested plugin named gzip\_lines of type codec. Error: NameError NameError"}

I don't know what is the problem....☹  
please can you help me????

---

<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 22, 2017, 11:49am UTC](https://discuss.elastic.co/t/problem-with-gzip-lines-codec/105235/2 "2017-11-22T11:49:59Z")

</div>

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