gitlab 地址:https://github.com/bitsensor
1 下载插件
wget https://github.com/bitsensor/elastalert-kibana-plugin/releases/download/1.0.2/elastalert-kibana-plugin-1.0.2-6.6.2.zip
[root@huazai007 src]# /usr/share/kibana/bin/kibana-plugin install file:///usr/local/src/elastalert-kibana-plugin-1.0.2-6.6.2.zip Attempting to transfer from file:///usr/local/src/elastalert-kibana-plugin-1.0.2-6.6.2.zip Transferring 18790051 bytes.................... Transfer complete Retrieving metadata from plugin archive Extracting plugin archive Extraction complete Optimizing and caching browser bundles... Plugin installation complete
查看已安装的插件
[root@huazai007 src]# /usr/share/kibana/bin/kibana-plugin list elastalert-kibana-plugin@1.0.2
2 修改kibana 配置文件
vim /etc/kibana/kibana.yml 后面新增两行
#elastalert server info elastalert-kibana-plugin.serverHost: 172.18.47.63 elastalert-kibana-plugin.serverPort: 3030
3 重启服务
systemctl restart kibana
4 验证