# Slack watcher settings - v7.0. keystore requirements

**URL:** <https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-alerting\
**Created:** [April 17, 2019, 9:52am UTC](https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256 "2019-04-17T09:52:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mark\_Duncan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_duncan/32/46467_2.png) [@Mark\_Duncan](https://discuss.elastic.co/u/Mark_Duncan)\
**Post date:** [April 17, 2019, 9:52am UTC](https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256/1 "2019-04-17T09:52:23Z")

</div>

Hi,

We have an Elastic Cloud hosted version of ELK.

I am trying to follow these instructions - to setup my Slack watcher settings in the keystore - in order to upgrade to v7:

[https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#watcher-notifications-account-settings](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/breaking-changes-7.0.html#watcher-notifications-account-settings)

I've found the keystore at /deployments/security, but cannot seem to configure the Slack watcher correctly. I am trying to add:

_setting_  
xpack.notification.slack.account..secure\_url

_secret_  
[https://hooks.slack.com/services/X/Y/Z](https://hooks.slack.com/services/X/Y/Z) (our slack webhook url)

And have tried replacing with every ID I can find.

Is this approach correct? If so, where would I find our ?

Thanks,  
Mark

---

<div class="post-metadata">

**Author:** ![Sebastian\_Treu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebastian_treu/32/27013_2.png) [@Sebastian\_Treu](https://discuss.elastic.co/u/Sebastian_Treu)\
**Post date:** [May 2, 2019, 4:06am UTC](https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256/2 "2019-05-02T04:06:58Z")

</div>

did you find out to configure slack in v7?

This is what I did without luck:

First, set the url via keystore:

> echo "[Unlock your productivity potential with Slack Platform | Slack](https://hooks.slack.com/services/)...." | docker exec -i -e ES\_JAVA\_OPTS="-Xmx128m -Xms128m" es\_elasticsearch-node1.ID bin/elasticsearch-keystore add -f -v -x xpack.notification.slack.account.monitoring.secure\_url

Second, restart the services.

When I did:

`GET _nodes?filter_path=**.settings.xpack.notification`

I got empty object.

Not sure how should I configure slack in this version ☹

---

<div class="post-metadata">

**Author:** ![Sebastian\_Treu](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebastian_treu/32/27013_2.png) [@Sebastian\_Treu](https://discuss.elastic.co/u/Sebastian_Treu)\
**Post date:** [May 2, 2019, 4:57am UTC](https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256/3 "2019-05-02T04:57:25Z")

</div>

it turns out that I didn't realized that I wasn't storing the keystore and with every restart I lost the settings.

---

<div class="post-metadata">

**Author:** ![Mark\_Duncan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_duncan/32/46467_2.png) [@Mark\_Duncan](https://discuss.elastic.co/u/Mark_Duncan)\
**Post date:** [May 2, 2019, 8:13am UTC](https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256/4 "2019-05-02T08:13:37Z")

</div>

do you have it solved now?

I got this reply from Elastic support:

> First of all, it should be `xpack.notification.slack.account.monitoring.secure_url`
> 
> Just like the settings values in elasticsearch.yml, changes to the keystore contents are not automatically applied to the running elasticsearch node. For this secure setting, you need to restart your cluster to make it work.

---

<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:** [May 6, 2019, 7:57am UTC](https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256/5 "2019-05-06T07:57:42Z")

</div>

Minor nit. Secure settings can be reloaded as well, see [https://www.elastic.co/guide/en/elasticsearch/reference/7.0/secure-settings.html#reloadable-secure-settings](https://www.elastic.co/guide/en/elasticsearch/reference/7.0/secure-settings.html#reloadable-secure-settings)

---

<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:** [June 3, 2019, 7:57am UTC](https://discuss.elastic.co/t/slack-watcher-settings-v7-0-keystore-requirements/177256/6 "2019-06-03T07:57:56Z")

</div>

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