我正在尝试通过添加松弛的Webhooks向我的Elasticsearch实例添加松弛的集成。我知道在7.0版之前,我可以放入我的elasticsearch.yml文件:
xpack.notification.slack:
account:
monitoring:
url: https://hooks.slack.com/services/T0A6BLEEA/B0A6D1PRD/XYZ123
但是,现在我必须使用此“安全密钥库”,语法似乎有些复杂。有没有人遇到过类似的事情?
找到了答案,很难找到安全的密钥库。
您可以在其中添加一个松弛的webhook:
Key = xpack.notification.slack.account.<account_name>.secure_url
Values = the webhook URL
希望对下一个问题有帮助的人!