Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'Account' textbox in Watcher UI for PagerDuty Action #44959

Open
kapildawar opened this issue Sep 6, 2019 · 1 comment
Open

Add 'Account' textbox in Watcher UI for PagerDuty Action #44959

kapildawar opened this issue Sep 6, 2019 · 1 comment
Labels
Feature:Watcher PagerDuty Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@kapildawar
Copy link

Feature Request

Elasticsearch allows the setup of multiple accounts for Pagerduty notifications

xpack.notification.pagerduty:
  default_account: account2
  account:
    account1:
      ...
    account2:
      ...

The Watcher UI(threshold alert) for PagerDuty action does not have an option to put account for the watch being set up, it only has a textbox for description. Adding a textbox for Account will allow the user to indirectly select respective service API key and account defaults.
At this point, it requires an advanced watch to be set up for this.

Use case

Customers have multiple applications and application teams. PagerDuty allows setting up a service API key for every application team. This helps to route alerts to the corresponding team(email/slack) directly from PagerDuty. At this point, setting service_api_key or secure_service_api_key is under an account.

xpack.notification.pagerduty:
  account:
    my_pagerduty_account:
      service_api_key: d3b07384d113edec49eaa6238ad5ff0
      event_defaults:
        description: "Watch notification"
        incident_key: "my_incident_key"
        client: "my_client"
        client_url: http://www.example.org
        event_type: trigger
        attach_payload: true

Having an easy way to set account in watcher UI will help the user to set a threshold alert without having to write an advanced watcher.

@cjcenizal cjcenizal added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label May 12, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/es-ui (Team:Elasticsearch UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Watcher PagerDuty Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests

3 participants