Logstash 5.2.2 logstash-output-elastic plugin exception

Hi,

I wanna move the data between csv to elastic in windows machine. When i run my config file with logstash.bat, i am getting following result. I checked plugin list. "logstash-output-elastic" is there. I updated plugin.

Logstash version : 5.2.2

config file output :
output {
elasticsearch {
hosts => "http://localhost:9200"
index => "xxx_index"
document_type => "xxx_type"
}

My Command Prompt Result :

[2017-03-09T16:54:34,561][ERROR][logstash.plugins.registry] Problems loading a plugin with {:type=>"output", :name=>"elasticsearch", :path=>"logstash/outputs/elasticsearch", :error_message=>"cannot load Java class org.apache.http.\xFDmpl.client.StandardHttpRequestRetryHandler", :error_class=>NameError, :error_backtrace=>["org/jruby/javasupport/JavaClass.java:204:in for_name'", "org/jruby/javasupport/JavaUtilities.java:34:inget_proxy_class'", "file:/C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/jruby/lib/jruby.jar!/jruby/java/java_package_module_template.rb:4:in const_missing'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/client.rb:708:inManticore'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/client.rb:5:in (root)'", "org/jruby/RubyKernel.java:1040:inrequire'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'", "file:/C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:1:in(root)'", "file:/C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/jruby/lib/jruby.jar!/jruby/kernel19/kernel.rb:13:in require_relative'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore.rb:46:inManticore'", "org/jruby/RubyKernel.java:1040:in require'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore.rb:14:in (root)'", "org/jruby/RubyKernel.java:1040:inrequire'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.2.0-java/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb:1:in(root)'", "org/jruby/RubyKernel.java:1040:in require'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.2.0-java/lib/logstash/outputs/elasticsearch/http_client/manticore_adapter.rb:1:in (root)'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.2.0-java/lib/logstash/outputs/elasticsearch/http_client.rb:1:in(root)'", "org/jruby/RubyKernel.java:1040:in require'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/polyglot-0.3.5/lib/polyglot.rb:65:inrequire'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.2.0-java/lib/logstash/outputs/elasticsearch/http_client.rb:5:in (root)'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.2.0-java/lib/logstash/outputs/elasticsearch.rb:1:in(root)'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.2.0-java/lib/logstash/outputs/elasticsearch.rb:79:in ElasticSearch'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/vendor/bundle/jruby/1.9/gems/logstash-output-elasticsearch-7.2.0-java/lib/logstash/outputs/elasticsearch.rb:76:in(root)'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/plugins/registry.rb:1:in (root)'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/plugins/registry.rb:151:inlegacy_lookup'", "org/jruby/RubyKernel.java:1079:in eval'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/plugins/registry.rb:133:inlookup'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/plugins/registry.rb:175:in lookup_pipeline_plugin'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/plugin.rb:129:inlookup'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/pipeline.rb:95:in plugin'", "(eval):60:ininitialize'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/pipeline.rb:65:in initialize'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/pipeline.rb:144:ininitialize'", "C:/Users/Lenovo/Desktop/SparkProje/logstash-5.2.2/logstash-core/lib/logstash/agent.rb:275:in create_pipeline'", "C:\\Users\\Lenovo\\Desktop\\SparkProje\\logstash-5.2.2\\lib\\bootstrap\\environment.rb:71:in(root)'"]}
[2017-03-09T16:54:34,578][ERROR][logstash.agent ] Cannot load an invalid configuration {:reason=>"Couldn't find any output plugin named 'elasticsearch'. Are you sure this is correct? Trying to load the elasticsearch output plugin resulted in this error: Problems loading the requested plugin named elasticsearch of type output. Error: NameError cannot load Java class org.apache.http.\xFDmpl.client.StandardHttpRequestRetryHandler"}

Is there any idea about this probem?

Problem was computer region. With Turkey region, it s not working correctly.

1 Like

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