# Unable to setup PagerDuty or Slack notification on ES7.x

**URL:** https://discuss.elastic.co/t/unable-to-setup-pagerduty-or-slack-notification-on-es7-x/179967
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [May 7, 2019, 12:14pm UTC](https://discuss.elastic.co/t/unable-to-setup-pagerduty-or-slack-notification-on-es7-x/179967 "2019-05-07T12:14:43Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![innovia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/innovia/32/45725_2.png) [@innovia](https://discuss.elastic.co/u/innovia)
#### Post date: [May 7, 2019, 12:14pm UTC](https://discuss.elastic.co/t/unable-to-setup-pagerduty-or-slack-notification-on-es7-x/179967/1 "2019-05-07T12:14:43Z")

</div>

Hi

The documentation for setting up notifications for Slack or PagerDuty are outdated and wrong

Im running on elastic cloud with standard subscriptions

can anyone please help with setting this up correctly on version 7.0.1?

i tried to setup a keystore but that failed with unknown setting [xpack.notification.pagerduty.secure\_service\_api\_key]

i tried to edit the elaticsearch config but nothing i have tried works

I would be happy if someone can provide specific instructions on how to connect slack and pagerduty

---

<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 8, 2019, 7:22am UTC](https://discuss.elastic.co/t/unable-to-setup-pagerduty-or-slack-notification-on-es7-x/179967/2 "2019-05-08T07:22:45Z")

</div>

Hey Ami,

sorry, it's not been working as expected. Let's try to fix that!

that setting you referred to does not include an account name, like

```auto
xpack.notification.pagerduty.account.my_pagerduty_account.secure_service_api_key

```

Also, can you include the full settings also for slack, so we can try and check?

Thank you!

--Alex

---

<div class="post-metadata">

### Author: ![innovia](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/innovia/32/45725_2.png) [@innovia](https://discuss.elastic.co/u/innovia)
#### Post date: [May 8, 2019, 11:17am UTC](https://discuss.elastic.co/t/unable-to-setup-pagerduty-or-slack-notification-on-es7-x/179967/3 "2019-05-08T11:17:44Z")

</div>

Hi Alex

sad that i had to write a post on medium on how to achieve this

the elastic search documentation is outdated and scattered and it's not easy to understand a basic config file and its types

> **[Monitoring Elasticsearch using x-pack with Slack and PagerDuty](https://medium.com/@amimahloof/monitoring-elasticsearch-using-x-pack-with-slack-and-pagerduty-8117d4bf37bf?source=friends_link&sk=fd288823ded1e4483060b7a4a11fbc22)**
>
> If you have x-pack on your elasticsearch cluster and you want alerts on its health or slack alerts on logs, it becomes quite a journey and…

---

<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 5, 2019, 11:17am UTC](https://discuss.elastic.co/t/unable-to-setup-pagerduty-or-slack-notification-on-es7-x/179967/4 "2019-06-05T11:17:46Z")

</div>

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