ELK\logstash-7.6.0\bin>logstash-plugin install logstash-input-google_cloud_storage
Validating logstash-input-google_cloud_storage
Installing logstash-input-google_cloud_storage
Error Bundler::InstallError, retrying 1/10
Errno::ESRCH: No such process - No message available
An error occurred while installing logstash-input-google_cloud_storage (0.11.1), and Bundler cannot continue.
Make sure that gem install logstash-input-google_cloud_storage -v '0.11.1' --source 'https://rubygems.org/' succeeds before bundling.
After that , I was installed ruby 2.6 and try to execute gem command, still the same issue persists.Ruby version is
ruby 2.6.6p146 (2020-03-31 revision 67876) [x64-mingw32]
Finally Checked the gem list and updated it using the command
gem update --system
But I couldn't find any logstash gem there.
Please suggest, whether i am following correct procedure to add google storage plugin or not.
Thank you for your response. The error is showing like below.
[2020-04-24T18:06:36,347][ERROR][logstash.plugins.registry] Problems loading a plugin with {:type=>"input", :name=>"google_cloud_storage", :path=>"logstash/inputs/google_cloud_storage", :error_message=>"\n\n\tyou might need to reinstall the gem which depends on the missing jar or in case there is Jars.lock then resolve the jars with lock_jars command\n\nno such file to load -- com/google/apis/google-api-services-storage/v1-rev20181109-1.27.0/google-api-services-storage-v1-rev20181109-1.27.0 (LoadError)", :error_class=>RuntimeError, :error_backtrace=>["uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar_dependencies.rb:356:in do_require'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar_dependencies.rb:265:in block in require_jar'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar_dependencies.rb:307:in require_jar_with_block'", "uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/jar_dependencies.rb:264:in require_jar'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/lib/bootstrap/patches/jar_dependencies.rb:6:in require_jar'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/logstash-input-google_cloud_storage-0.11.1-java/lib/logstash-input-google_cloud_storage_jars.rb:12:in '", "org/jruby/RubyKernel.java:978:in require'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/logstash-input-google_cloud_storage-0.11.1-java/lib/logstash/inputs/cloud_storage/client.rb:5:in <main>'", "org/jruby/RubyKernel.java:978:in require'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/logstash-input-google_cloud_storage-0.11.1-java/lib/logstash/inputs/google_cloud_storage.rb:6:in '", "org/jruby/RubyKernel.java:978:in require'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/vendor/bundle/jruby/2.5.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in require'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/plugins/registry.rb:191:in legacy_lookup'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/plugins/registry.rb:166:in block in lookup'", "org/jruby/ext/thread/Mutex.java:164:in synchronize'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/plugins/registry.rb:162:in lookup'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/plugins/registry.rb:216:in lookup_pipeline_plugin'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/plugin.rb:144:in lookup'", "org/logstash/plugins/PluginFactoryExt.java:181:in plugin'", "org/logstash/execution/JavaBasePipelineExt.java:60:in initialize'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/java_pipeline.rb:27:in initialize'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/pipeline_action/create.rb:36:in execute'", "C:/Users/ThinkPad/Saroj/ELK/logstash-7.6.0/logstash-core/lib/logstash/agent.rb:326:in `block in converge_state'"]}
C:\Users\ThinkPad\Saroj\ELK\ELK_7.6\logstash-7.6.0\bin>logstash-plugin install logstash-input-google_cloud_storage
2020-04-25T12:50:19.805+01:00 [main] WARN FilenoUtil : Native subprocess control requires open access to sun.nio.ch
Pass '--add-opens java.base/sun.nio.ch=org.jruby.dist' or '=org.jruby.core' to enable.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.jruby.ext.openssl.SecurityHelper (file:/C:/Users/ThinkPad/Saroj/ELK/ELK_7.6/logstash-7.6.0/vendor/jruby/lib/ruby/stdlib/jopenssl.jar) to constructor java.security.cert.CertificateFactory(java.security.cert.CertificateFactorySpi,java.security.Provider,java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.jruby.ext.openssl.SecurityHelper
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Validating logstash-input-google_cloud_storage
Installing logstash-input-google_cloud_storage
Error Bundler::InstallError, retrying 1/10
Errno::ESRCH: No such process - No message available
An error occurred while installing logstash-input-google_cloud_storage (0.11.1), and Bundler cannot continue.
Make sure that gem install logstash-input-google_cloud_storage -v '0.11.1' --source 'https://rubygems.org/' 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.