How do I set the proxy for logstash plugin install on windows?

I'm trying to install the elapsed plug-in and keep getting a connection error.
Gooogling reveals that logstash doesn't use the browser proxy.

The documentation indicates to 'export' the proxy - but that's a unix command that is not know to Windows.

I tried SETting the ES_JAVA_OPTS but that hasn't helped (and ES implies elastic to me, rather than logstash).

So I need help. where do I configure the proxy setting for logstash (on windows) to go out to the internet?

thanks

Got help from https://github.com/elastic/logstash/issues/6044

Seems in addition to the ES_JAVA_OPTS you also need to set JRUBY_OPTS. So;

SET ES_JAVA_OPTS="-Dhttp.proxyHost=yourproxyname -Dhttp.proxyPort=3128 -Dhttps.proxyHost=yourproxyname -Dhttps.proxyPort=3128"

SET JRUBY_OPTS="-J-Dhttp.proxyHost=yourproxyname -J-Dhttp.proxyPort=3128 -J-Dhttps.proxyHost=yourproxyname -J-Dhttps.proxyPort=3128"

replacing the yourproxyname with the DNS name of your proxy, and also changing the port to match your proxy

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