我正在通过代理在Windows Server 2012上安装Logstash。我已经设置了HTTP和HTTPS代理。我试过了两个:
set HTTP_PROXY "<myhost:port>"
set HTTPS_PROXY "<myhost:port>"
和
C:\ELK_Stack\logstash\bin>set JRUBY_OPTS="-J-Dhttp.proxyHost=<myhost> -J-Dhttp.proxyPort=<myport>"
我正在安装logstash-input-beats作为插件:
C:\ELK_Stack\logstash\bin>logstash-plugin install logstash-input-beats
但是我收到以下错误:
C:\ELK_Stack\logstash\bin>logstash-plugin install logstash-input-beats
Validating logstash-input-beats
Installing logstash-input-beats
Error Bundler::InstallError, retrying 1/10
An error occurred while installing logstash-core-event-java (5.1.2), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.1.2'` succeeds before bundling.
Error Bundler::InstallError, retrying 2/10
An error occurred while installing logstash-core-event-java (5.1.2), and Bundler cannot continue.
Make sure that `gem install logstash-core-event-java -v '5.1.2'` succeeds before bundling.