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 Alert sources --> Alert sources and click on Create new alert source

  2. Search for OpenObserve in the search field, click on the tile and click on Next.

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

  4. Select an escalation policy by creating a new one or assigning an existing one.

  5. Select your Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.

  6. The next page shows additional settings such as custom alert templates or notification priority. Click on Finish setup for now.

  7. On the final page, ilert generates a webhook URL for your alert source. Copy it — you will need it in the next section.

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?