Hi,
In the RH 7.3 system with installed logstash 5.4.3.rpm, I have followed instruction in the documentation: Offline Plugin Management | Logstash Reference [5.4] | Elastic I've got an error as below.
/usr/share/logstash/bin/logstash-plugin install file:///root/elk_rpms/logstash-offline-plugins-5.4.3.zip
Installing file: /root/elk_rpms/logstash-offline-plugins-5.4.3.zip
ERROR: An error occured when installing the: file:///root/elk_rpms/logstash-offline-plugins-5.4.3.zip, to have more information about the error add a DEBUG=1 before running the command., message: Could not find gem 'logstash-offline-plugins-5.4.0.zip (>= 0) java' in any of the gem sources listed in your Gemfile or installed on this machine.
WIth DEBUG=1,
DEBUG: exec /usr/share/logstash/vendor/jruby/bin/jruby /usr/share/logstash/lib/pluginmanager/main.rb install file:///root/elk_rpms/logstash-offline-plugins-5.4.3.zip
Local file: /root/elk_rpms/logstash-offline-plugins-5.4.3.zip
Installing with strategy: LogStash::PluginManager::PackInstaller::Local
Installing file: /root/elk_rpms/logstash-offline-plugins-5.4.3.zip
Pack uncompressed to /tmp/studtmp-78a7ad2ae67f956c98c960b29aa347ce7c066723dbab1a58df7a1db292d7
Creating the index structure format from /tmp/studtmp-78a7ad2ae67f956c98c960b29aa347ce7c066723dbab1a58df7a1db292d7 to /tmp/studtmp-5770092330a8d3e393c29d46ad3a27119301607634cef3296d9b1d90c39b
Generating indexes in /tmp/studtmp-5770092330a8d3e393c29d46ad3a27119301607634cef3296d9b1d90c39b
Generating Marshal quick index gemspecs for 1 gems
.
Complete
Generated Marshal quick index gemspecs: 0.005s
Generating specs index
Generated specs index: 0.001s
Generating latest specs index
Generated latest specs index: 0.000s
Generating prerelease specs index
Generated prerelease specs index: 0.000s
Compressing indicies
Compressed indicies: 0.004s
Bundler::GemNotFound: Could not find gem 'logstash-offline-plugins-5.4.0.zip (>= 0) java' in any of the gem sources listed in your Gemfile or installed on this machine.
verify_gemfile_dependencies_are_found! at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/resolver.rb:328
each at org/jruby/RubyArray.java:1613
verify_gemfile_dependencies_are_found! at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/resolver.rb:307
start at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/resolver.rb:199
resolve at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/resolver.rb:182
resolve at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:192
to_lock at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:265
each at org/jruby/RubyArray.java:1613
to_lock at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:261
lock at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/bundler-1.9.10/lib/bundler/definition.rb:237
inject at /usr/share/logstash/lib/pluginmanager/bundler/logstash_injector.rb:77
inject! at /usr/share/logstash/lib/pluginmanager/bundler/logstash_injector.rb:37
chdir at org/jruby/RubyDir.java:341
inject! at /usr/share/logstash/lib/pluginmanager/bundler/logstash_injector.rb:36
execute at /usr/share/logstash/lib/pluginmanager/pack_installer/local.rb:37
execute at /usr/share/logstash/lib/pluginmanager/install.rb:32
run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67
execute at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11
run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:67
run at /usr/share/logstash/vendor/bundle/jruby/1.9/gems/clamp-0.6.5/lib/clamp/command.rb:132
(root) at /usr/share/logstash/lib/pluginmanager/main.rb:48