I'm using Logstash (8.6.0) and want to send data to influxdb2 (2.6.1). But I find that logstash-output-infludb isn't installed by default, so I'm trying to install it. Some errors happen but no details are shown.
Could you please share me with the way to install this plugin?
Hi @Rios
Thank you. Yes, I was using that command and proxy as well.
Also, I was trying to follow the way here to install it but still got the same error.
Here is the error message. I only got this one. ERROR: Something went wrong when installing logstash-output-influxdb, message: execution expired
Btw, even if I tried to install other plugins, I got the same error.
Maybe it's kind of getting away from the topic here.
But that's weird. Someone tried to do that but no further update on that.
I don't know if maintainers really want to maintain the plugin or not.
Looking if package named: logstash-output-influxdb exists at https://artifacts.elastic.co/downloads/logstash-plugins/logstash-output-influxdb/logstash-output-influxdb-7.6.2.zip
Net::OpenTimeout: execution expired
initialize at org/jruby/ext/socket/RubyTCPSocket.java:144
open at org/jruby/RubyIO.java:1158
connect at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/http.rb:941
timeout at org/jruby/ext/timeout/Timeout.java:99
timeout at org/jruby/ext/timeout/Timeout.java:75
connect at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/http.rb:939
do_start at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/http.rb:924
start at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/http.rb:913
start at /usr/share/logstash/vendor/jruby/lib/ruby/stdlib/net/http.rb:609
start at /usr/share/logstash/lib/pluginmanager/utils/http_client.rb:14
remote_file_exist? at /usr/share/logstash/lib/pluginmanager/utils/http_client.rb:32
get_installer_for at /usr/share/logstash/lib/pluginmanager/pack_fetch_strategy/repository.rb:32
create at /usr/share/logstash/lib/pluginmanager/install_strategy_factory.rb:23
each at org/jruby/RubyArray.java:1814
create at /usr/share/logstash/lib/pluginmanager/install_strategy_factory.rb:22
execute at /usr/share/logstash/lib/pluginmanager/install.rb:29
run at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67
execute at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/subcommand/execution.rb:11
run at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:67
run at /usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/clamp-0.6.5/lib/clamp/command.rb:132
<main> at /usr/share/logstash/lib/pluginmanager/main.rb:48
Validating logstash-output-influxdb
Resolving mixin dependencies
Installing logstash-output-influxdb
Installation successful
There is an option to install from gem.
Or if is possible, just temporary open direct connection to internet.
@Rios
Thank you for testing this. Appreciated!!
Actually, the option you mentioned I've already tried but it didn't work.
Could you share the OS you used and its version with me?
Released on: 2021-06-07
I could say, this is in a production for almost 2 yrs. Don't think this is a bug.
There is few workarounds for installations, easiest way is either set proxy settings or temporarily open internet if is possible.
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.