# Using Slack for notification alerts

**URL:** <https://discuss.elastic.co/t/using-slack-for-notification-alerts/203724>\
**Category:** Elasticsearch\
**Created:** [October 15, 2019, 11:25pm UTC](https://discuss.elastic.co/t/using-slack-for-notification-alerts/203724 "2019-10-15T23:25:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![akalra](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@akalra](https://discuss.elastic.co/u/akalra)\
**Post date:** [October 15, 2019, 11:25pm UTC](https://discuss.elastic.co/t/using-slack-for-notification-alerts/203724/1 "2019-10-15T23:25:44Z")

</div>

Hi,  
I want to create some notification alerts for a kubernetes cluster that i am monitoring and send them to a Slack channel. I am using watcher to configure these threshhold alerts. I followed the steps for creating the Slack action as provided in the reference:

1. Created Slack incoming webhook.
2. On Elastic Cloud deployment, under security, added a new entry to elastic keystore with setting : "xpack.notification.slack.account.monitoring.secure\_url" and the value being the webhook URL.

However, under Actions for Slack, the message still says that account for slack is not configured and needs to be done so. Please advice how i can get the slack notifications configured for sending alerts.

My Elastic Cloud deployment version is 7.4.0.

Thanks

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 16, 2019, 1:03pm UTC](https://discuss.elastic.co/t/using-slack-for-notification-alerts/203724/2 "2019-10-16T13:03:29Z")

</div>

Just to be sure, this is a keystore setting, did you follow those steps? [https://www.elastic.co/guide/en/cloud/current/ec-configuring-keystore.html](https://www.elastic.co/guide/en/cloud/current/ec-configuring-keystore.html)

---

<div class="post-metadata">

**Author:** ![akalra](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@akalra](https://discuss.elastic.co/u/akalra)\
**Post date:** [October 16, 2019, 2:44pm UTC](https://discuss.elastic.co/t/using-slack-for-notification-alerts/203724/3 "2019-10-16T14:44:38Z")

</div>

@spinscale yes, that's how i configured it. xpack.notification.slack.account.monitoring.secure\_url as the setting and the Slack webhook URL as the single string value of secret.

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [October 21, 2019, 7:17am UTC](https://discuss.elastic.co/t/using-slack-for-notification-alerts/203724/4 "2019-10-21T07:17:34Z")

</div>

Just for the sake of testing, can you set any of the other settings like `message_defaults.from` in the regular settings, and see if that changes anything?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 18, 2019, 7:17am UTC](https://discuss.elastic.co/t/using-slack-for-notification-alerts/203724/5 "2019-11-18T07:17:35Z")

</div>

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