Slack Configurations on Elastic Cloud

Hi there,

I was trying to hook up slack with watcher on our elastic cloud instance and have run into some issues.

Here is how I updated elasticsearch.yml :

xpack.notification.slack:
  account:
    monitoring:
      url: <webhook url>

And here is how created a new watch -
"actions": {
"notify-slack": {
"throttle_period" : "5m",
"slack": {
"account" : "monitoring",
"message": {
"to" : ["the channel"] ,
"text" : "There are {{ctx.payload.hits.total}} documents in your index. Threshold is 10."}
}
}
}

But I keep getting this error -

Watcher: [illegal_argument_exception] no account found for name: [monitoring]

Any clue?

Thanks
-Nilesh

If you'd like some direct support from us, which as an Elastic Cloud user you have, them check out https://discuss.elastic.co/t/now-live-new-elastic-cloud-standard-support/84161

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.