Installing Plugins for Logstash 5.0

Hi There,

I'm trying to install the memorize plugin for Logstash on Ubuntu 14.04. The problem is that my Logstash server is connected through a proxy. So when using the normal bin/logstash-plugin install logstash-filter-memorize command I get the error Unable to download data from https://rubygems.org - SocketError: initialize: name or service not known (https://rubygems.org/latest_specs.4.8.gz). I have tried to use the following commands:

export http_proxy=http://user:password@host:port
export https_proxy=http://user:password@host:port

As described in Installing plugins in logstash 1.5.0 using proxy ? · Issue #3314 · elastic/logstash · GitHub but I still got the same error. I downloaded the gem file and tried to install it locally as described in Working with plugins | Logstash Reference [8.11] | Elastic but I got the following error:

Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.0.0), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.0.0'` succeeds before bundling.

I have tried to run the command gem install logstash-core-event-java -v '5.0.0' and it ran successfully but when trying to install the plugin I still got the same error. sudo update-ca-certificates -f didn't help either.
Any insights on this?

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