I am trying to install an unbundled logstash plugin, namely logstash-filter-age.
I've exported both http_proxy and https_proxy and verified that I can connect to the internet and ran this command to try to install the filter:
bin/logstash-plugin install logstash-filter-age
But it is throwing me back with this error:
Validating logstash-filter-age Unable to download data from https://rubygems.org - SocketError: Failed to open TCP connection to rubygems.org:443 (initialize: name or service not known) (https://rubygems.org/latest_specs.4.8.gz) ERROR: Installation aborted, verification failed for logstash-filter-age
Any ideas how to get around this problem please?
On a side note, I also tried downloading the gem and installing it manually:
bin/logstash-plugin install --local --no-verify file:///path/to/the.gem
However it throws me this:
ERROR: Invalid pack for: file:///path/to/the.gem, reason: Invalid format, the pack must be in zip format, message: Invalid format, the pack must be in zip format
What is the best way to install a gem locally?
Thanks a lot for your help,