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????