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

OpenObserve Integration

Create alerts in ilert from OpenObserve alerts — with ilert's OpenObserve inbound integration.

OpenObserve is an open-source observability platform for logs, metrics, traces, and RUM. Its alerting engine lets you define scheduled and real-time alerts on your streams and deliver them to notification destinations. With this integration, alerts raised in OpenObserve automatically create alerts in ilert, so the right responders are notified and escalations happen reliably.

In ilert: Create an OpenObserve alert source

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

  2. Search for OpenObserve, 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 generates a webhook URL for your alert source. Copy it — you will need it in the next section.

    The Settings tab of a OpenObserve alert source in ilert, showing the integration type, the masked integration key, and the OpenObserve URL.

In OpenObserve: Create a template

A template defines the payload that OpenObserve posts to ilert.

  1. Click on Management in the left navigation.

  2. In the sidebar, click on Templates.

  3. Click on New template.

  4. Give the template a name, for example ilert_template, keep Web Hook selected, copy and paste the template below into the Body field, and click Save.

Payload template

All fields of the alerted stream are available as variables too. The Template Variable Guide on the right side of the template editor lists every variable you can use, so you can enrich the payload with your own fields — they show up as custom details on the ilert alert.

In OpenObserve: Create a notification destination

  1. Still in Management, click on Notification Destinations and select Custom Destination.

  2. Click on New destination.

  3. Choose Custom Destination as the destination type.

  4. Keep Web Hook selected and fill in the fields:

    • Name: a name for the destination, for example ilert_webhook

    • Template: the template you created in the previous section, for example ilert_template

    • URL: the webhook URL you copied from your ilert alert source

    • Method: post

    Then click Save.

In OpenObserve: Use the destination in an alert

  1. The destination now appears in the list. Click on Alerts in the left navigation.

  2. Create a New alert, or edit an existing one, and select the destination you created as its notification destination.

  3. Save the alert. You are done.

When the alert's condition is met, OpenObserve renders the template and posts it to ilert, which creates an alert.

FAQ

Will alerts in ilert be resolved automatically?

No. OpenObserve notifies its destinations while an alert condition is satisfied, but it does not send a separate recovery event. The ilert alert therefore stays open until it is resolved in ilert.

Last updated

Was this helpful?