Problem with gzip_lines codec

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:inlegacy_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:inlookup_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:invalidate_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:invalidate_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:invalidate_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:invalidate_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:inconfig_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:inplugin'", "(eval):12:in initialize'", "org/jruby/RubyKernel.java:1079:ineval'", "/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:inreload_pipeline!'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:111:in reload_state!'", "org/jruby/RubyHash.java:1342:ineach'", "/export/home/elastic/logstash-5.6.1/logstash-core/lib/logstash/agent.rb:108:in reload_state!'", "org/jruby/ext/thread/Mutex.java:149:insynchronize'", "/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:inexecute'", "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:ininterval'", "/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:inexecute'", "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:ininitialize'"]}
[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....:frowning:
please can you help me????

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