Do we need to install Elastic search filter plugin externally or do we need to install..
When I try to run logstash with elasticsearch filter plugin .I am getting this error
Problems loading a plugin with {:type=>"filter", :name=>"elasticsearch", :path=>"logstash/filters/elasticsearch", :error_message=>"NameError", :error_class=>NameError, :error_backtrace=>["/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/plugins/registry.rb:226:in namespace_lookup'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/plugins/registry.rb:162:inlegacy_lookup'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/plugins/registry.rb:138:in lookup'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/plugins/registry.rb:180:inlookup_pipeline_plugin'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/plugin.rb:140:in lookup'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/pipeline.rb:103:inplugin'", "(eval):68:in initialize'", "org/jruby/RubyKernel.java:1079:ineval'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/pipeline.rb:75:in initialize'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/pipeline.rb:165:ininitialize'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/agent.rb:286:in create_pipeline'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/agent.rb:95:inregister_pipeline'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/runner.rb:313:in execute'", "/appl/essapp/appl/logstash-5.6.2_profiles/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67:inrun'", "/appl/essapp/appl/logstash-5.6.2_profiles/logstash-core/lib/logstash/runner.rb:204:in run'", "/appl/essapp/appl/logstash-5.6.2_profiles/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132:inrun'", "/appl/essapp/appl/logstash-5.6.2_profiles/lib/bootstrap/environment.rb:71:in `(root)'"]}
[2017-12-01T15:09:57,890][ERROR][logstash.agent ] Cannot create pipeline {:reason=>"Couldn't find any filter plugin named 'elasticsearch'. Are you sure this is correct? Trying to load the elasticsearch filter plugin resulted in this error: Problems loading the requested plugin named elasticsearch of type filter. Error: NameError NameError"}
Validating ../logstash-filter-elasticsearch-3.2.1.gem
Installing logstash-filter-elasticsearch
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 2/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 3/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 4/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 5/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 6/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 7/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 8/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 9/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Error Bundler::InstallError, retrying 10/10
An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
which: no javac in (/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/essapp/bin)
Too many retries, aborting, caused by Bundler::InstallError
ERROR: Installation Aborted, message: An error occurred while installing logstash-core (5.6.2), and Bundler cannot continue.
Make sure that gem install logstash-core -v '5.6.2' succeeds before bundling.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.