# AWS SES and PagerDuty configs for watcher

**URL:** https://discuss.elastic.co/t/aws-ses-and-pagerduty-configs-for-watcher/96821
**Category:** Elasticsearch
**Tags:** elastic-stack-alerting
**Created:** [August 11, 2017, 7:53pm UTC](https://discuss.elastic.co/t/aws-ses-and-pagerduty-configs-for-watcher/96821 "2017-08-11T19:53:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nvasion](https://avatars.discourse-cdn.com/v4/letter/n/7ba0ec/32.png) [@nvasion](https://discuss.elastic.co/u/nvasion)
#### Post date: [August 11, 2017, 7:53pm UTC](https://discuss.elastic.co/t/aws-ses-and-pagerduty-configs-for-watcher/96821/1 "2017-08-11T19:53:20Z")

</div>

Looking for the correct config, in elasticsearch.yml, for both SES and PagerDuty for watcher and notifications. Just looking for someone that may have done this before. Or some help getting off the ground.

This is the config I have but elasticsearch complains about not knowing what PagerDuty is.  
Current version of es = 5.5.1

```
watcher.actions.pagerduty.service:
  account:
    my_pagerduty_account:
      service_api_key: <API KEY>
      event_defaults:
        description: "Watch notification"
        client: "Watcher Monitoring"
        client_url: http://elasticsearch.example.com
        event_type: trigger
        attach_payload: true

xpack.notification.email.account:
    ses_account:
        smtp:
            auth: true
            starttls.enable: true
            starttls.required: true
            host: email-smtp.us-west-2.amazonaws.com 
            port: 587
            user: <USER> 
            password: <PASS>
```

---

<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: [August 14, 2017, 7:13am UTC](https://discuss.elastic.co/t/aws-ses-and-pagerduty-configs-for-watcher/96821/2 "2017-08-14T07:13:34Z")

</div>

you need to use `xpack.notification` for the `pagerduty` configuration as well. the `watcher` part stems from Elasticsearch 2.4.

--Alex

---

<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: [September 11, 2017, 7:13am UTC](https://discuss.elastic.co/t/aws-ses-and-pagerduty-configs-for-watcher/96821/3 "2017-09-11T07:13:35Z")

</div>

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