# Testing Kibana Alerting slack connector

**URL:** <https://discuss.elastic.co/t/testing-kibana-alerting-slack-connector/249521>\
**Category:** Kibana\
**Tags:** elastic-stack-alerting\
**Created:** [September 22, 2020, 12:54pm UTC](https://discuss.elastic.co/t/testing-kibana-alerting-slack-connector/249521 "2020-09-22T12:54:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stevewritescode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stevewritescode/32/68742_2.png) [@stevewritescode](https://discuss.elastic.co/u/stevewritescode)\
**Post date:** [September 22, 2020, 12:54pm UTC](https://discuss.elastic.co/t/testing-kibana-alerting-slack-connector/249521/1 "2020-09-22T12:54:01Z")

</div>

Hi! I setup a slack connector to use as the action for several alerts that I created in Kibana. It was working well for a while, but suddenly stopped sending alert notifications to slack recently. I double-checked with `curl` to confirm that slack webhook is still working. Is there any other way for me to test the slack connector in Kibana to troubleshoot the issue?

I also noticed that the "Webhook URL" field always shows as blank in the "Edit connector" flyout, even after I set the webhook url and hit "Save" - is this by design?

I'm running elasticsearch/kibana 7.9.1 on elastic cloud.

Thanks!

---

<div class="post-metadata">

**Author:** ![mikecote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikecote/32/58549_2.png) [@mikecote](https://discuss.elastic.co/u/mikecote)\
**Post date:** [September 24, 2020, 1:07pm UTC](https://discuss.elastic.co/t/testing-kibana-alerting-slack-connector/249521/2 "2020-09-24T13:07:29Z")

</div>

Hi @stevewritescode,

There is an API you can curl that will give you the execution result / error. The information on the API can be found here: [https://github.com/elastic/kibana/blob/master/x-pack/plugins/actions/README.md#post-apiactionsactionid\_execute-execute-action](https://github.com/elastic/kibana/blob/master/x-pack/plugins/actions/README.md#post-apiactionsactionid_execute-execute-action).

You can use the get actions API to find the id of the connector: [https://github.com/elastic/kibana/blob/master/x-pack/plugins/actions/README.md#get-apiactions-get-all-actions](https://github.com/elastic/kibana/blob/master/x-pack/plugins/actions/README.md#get-apiactions-get-all-actions).

> I also noticed that the "Webhook URL" field always shows as blank in the "Edit connector" flyout, even after I set the webhook url and hit "Save" - is this by design?

This is by design as the APIs don't expose encrypted values, the user has to re-enter them on edit. We're working on improving this UX.

---

<div class="post-metadata">

**Author:** ![stevewritescode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stevewritescode/32/68742_2.png) [@stevewritescode](https://discuss.elastic.co/u/stevewritescode)\
**Post date:** [September 28, 2020, 1:53pm UTC](https://discuss.elastic.co/t/testing-kibana-alerting-slack-connector/249521/3 "2020-09-28T13:53:42Z")

</div>

Thanks a lot! I was able to use those API calls to test out the actions much easier. Also, thanks for the clarification about the UI. Now I know that it's working as intended and not an error on my part.

For some unknown reasons, the slack alerts started working again from both my direct API calls and the configured alerts. So I don't know what caused the original issue, but I'm all set to troubleshoot more next time it comes around. Thanks!

---

<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:** [October 26, 2020, 1:53pm UTC](https://discuss.elastic.co/t/testing-kibana-alerting-slack-connector/249521/4 "2020-10-26T13:53:43Z")

</div>

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