I Have elasticsearch v7.9.1
unfortunately the watchers have stopped working after I set up x-pack security.
I cannot curl hooks.slack.com , this is my result.
curl -v https://hooks.slack.com
* Could not resolve host: hooks.slack.com * Closing connection 0 curl: (6) Could not resolve host: hooks.slack.com
I have added a new Webhooks to elasticsearch keystore and the elasticsearch.yml file looks like this.
xpack.security.enabled: true xpack.security.transport.ssl.enabled: true xpack.http.ssl.verification_mode: none xpack.watcher.enabled: true xpack.notification.slack: account: monitoring: message_defaults.from: Kibana message_defaults.icon: true
and the keystone url is :
Theses are the errors I get in elasticsearch.log is:
[ERROR][o.e.x.w.n.s.SlackService ] [node-1] failed to execute slack api http request ERROR][o.e.x.w.n.s.SlackService ] [node-1] failed to execute slack api http request
can anyone help me with this issue.