For the complete documentation index, see llms.txt. This page is also available as Markdown.

Elastic Watcher Integration

With the ilert Elastic Watcher (formerly X-Pack Alerting) integration, you can create alerts in ilert based on Watcher alerts.

Elastic Watcher is a set of administrative features that enable you to watch for changes or anomalies in your data and perform the necessary actions in response.

In ilert: Create an Elastic Watcher alert source

  1. Go to Alerting → Alert sources and click Create new alert source.

  2. Search for Elastic Watcher, click its tile, and click Next.

  3. Give your alert source a name, optionally assign teams, and click Next.

  4. Choose who gets notified: select Use existing escalation policy and pick a policy, or Generate new escalation policy to start with a basic one that notifies you first. Click Next.

    The escalation step of the ilert alert source wizard, headed Who should be notified about alerts, with an escalation policy selected and a preview of its escalation rules below.
    Pick an existing escalation policy, or generate a basic one without leaving the wizard.
  5. Select Default grouping and click Continue setup. It groups events by the alert key the integration sets; the other grouping options are easier to judge once events are arriving.

  6. The next page shows more settings, such as notification priority and alert templates. Click Finish setup for now; you can change them later.

  7. On the final page, ilert shows the integration key and URL for this alert source. You will need them later in this guide.

In Elastic Watcher

Create a watcher

  1. Go to Stack Management and then to Alerts and Insights -> Watcher, then click the Create button and the Create advanced watch button.

  1. On the next page, name the watcher e.g. ilert, define conditions and actions the Webhook URL that you generated in ilert as follows:

  1. Finished! Your Elastic Watcher will now create alerts in ilert.

FAQ

Will alerts in ilert be resolved automatically?

No, unfortunately, Elastic Watcher's notification is not compatible with ilert's resolve event.

Can I connect Elastic Watcher with multiple alert sources from ilert?

Yes, simply add more watchers in Elastic Watcher.

Last updated

Was this helpful?