在Logstash 5.4中安装和配置OpsGenie Logstash插件

在Logstash 5.4中安装和配置OpsGenie Logstash插件,logstash,opsgenie,Logstash,Opsgenie,我正在尝试在Logstash(v5.4.2)中安装OpsGenie输出插件() 根据计划,必须运行: bin/plugin install logstash-output-opsgenie 日志存储5.4: 运行此功能,您将获得: Looking if package named: logstash-output-opsgenie exists at https://artifacts.elastic.co/downloads/logstash-plugins/logstash-output-

我正在尝试在Logstash(
v5.4.2
)中安装OpsGenie输出插件()

根据计划,必须运行:

bin/plugin install logstash-output-opsgenie
日志存储
5.4

运行此功能,您将获得:

Looking if package named: logstash-output-opsgenie exists at https://artifacts.elastic.co/downloads/logstash-plugins/logstash-output-opsgenie/logstash-output-opsgenie-5.4.2.zip
(但没有这样的工件:
logstash-output-opsgenie-5.4.2.zip

甚至试图强制版本:

$ DEBUG=1 bin/logstash-plugin install --version 2.0.5 logstash-output-opsgenie
您仍然可以:

DEBUG: exec /usr/share/logstash/vendor/jruby/bin/jruby /usr/share/logstash/lib/pluginmanager/main.rb install --version 2.0.5 logstash-output-opsgenie
Looking if package named: logstash-output-opsgenie exists at https://artifacts.elastic.co/downloads/logstash-plugins/logstash-output-opsgenie/logstash-output-opsgenie-5.4.2.zip
Network error, skipping Elastic pack, exception: Connection refused - Connection refused
如何安装此Logstash输出插件?

在Logstash上的配置下,有另一个链接指向。在该页面中有一个安装插件的命令

 gem install logstash-output-opsgenie
如果OpsGenie的插件所依赖的其他logstash包,则运行此命令将安装插件。之后,将logstash所在的目录更改为。然后跑

 gem install logstash-output-opsgenie
bin/logstash-plugin install logstash-output-opsgenie