AWS SES and PagerDuty configs for watcher

alerting

(Nvasion) #1

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>

(Alexander Reelsen) #2

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

--Alex


(system) #3

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