# Slack Action in MachineLearning

**URL:** <https://discuss.elastic.co/t/slack-action-in-machinelearning/168618>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [February 15, 2019, 4:40pm UTC](https://discuss.elastic.co/t/slack-action-in-machinelearning/168618 "2019-02-15T16:40:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![AndrePires](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@AndrePires](https://discuss.elastic.co/u/AndrePires)\
**Post date:** [February 15, 2019, 4:40pm UTC](https://discuss.elastic.co/t/slack-action-in-machinelearning/168618/1 "2019-02-15T16:40:10Z")

</div>

Hi there,

i am trying to install slack action to elasticsearch so when I create a MachineLearning job I could add a watcher with slack action.  
I add the url to the keystore like the documentation said and put the config in elasticsearch.yml (one at the time to see if either one worked).  
In elasticsearch.yml I have right now:  
`xpack.notification.slack:`  
`account:`  
`monitoring:`  
`secure_url: https://hooks.slack.com/services/########/#######/######`  
`message_defaults:`  
`to: ##########`

and than I do restart to elastic and kibana and thank when creating the job there is only one option like the picture shows:

![eed64393-229a-4476-8b7d-e52da3114b91](https://us1.discourse-cdn.com/elastic/original/3X/1/f/1f8c566e54618d1c0f0a5887bfba2385411fb083.png)

The action "Send Slack" doesn't appear.  
Can anyone help me with this please?

---

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [February 20, 2019, 1:50pm UTC](https://discuss.elastic.co/t/slack-action-in-machinelearning/168618/2 "2019-02-20T13:50:27Z")

</div>

The Machine Learning UI does not (yet) support creation of Watches with the Slack action. You need to create this watch manually. Or, you could, for example, choose the email option from the UI and then manually change the action by editing the Watch definition.

---

<div class="post-metadata">

**Author:** ![AndrePires](https://avatars.discourse-cdn.com/v4/letter/a/d07c76/32.png) [@AndrePires](https://discuss.elastic.co/u/AndrePires)\
**Post date:** [February 21, 2019, 3:37pm UTC](https://discuss.elastic.co/t/slack-action-in-machinelearning/168618/3 "2019-02-21T15:37:44Z")

</div>

Oh ok. I thought it was any mistake by me. I tried and it work. Now its only understand wich filter does wats. Thanks very much

---

<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:** [March 21, 2019, 3:37pm UTC](https://discuss.elastic.co/t/slack-action-in-machinelearning/168618/4 "2019-03-21T15:37:44Z")

</div>

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