Loading...

Install plugins behind proxy by passing proxy settings in Ruby.

export http_proxy="proxy.host:3128"
export https_proxy=$http_proxy

export JRUBY_OPTS="-J-Dhttp.proxyHost=proxy.host -J-Dhttp.proxyPort=3128"
DEBUG=1 JARS_SKIP='true' bin/logstash-plugin install logstash-filter-json_encode

Source: https://gist.github.com/devlatte/fda1c57ed7a33daea73c8b00799d74a1