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
Go to Alerting → Alert sources and click Create new alert source.
Search for OpenObserve, click its tile, and click Next.
Give your alert source a name, optionally assign teams, and click Next.
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.

Pick an existing escalation policy, or generate a basic one without leaving the wizard. 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.
The next page shows more settings, such as notification priority and alert templates. Click Finish setup for now; you can change them later.
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.
Click on Management in the left navigation.

In the sidebar, click on Templates.

Click on New template.

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
In OpenObserve: Create a notification destination
Still in Management, click on Notification Destinations and select Custom Destination.

Click on New destination.

Choose Custom Destination as the destination type.

Keep Web Hook selected and fill in the fields:
Name: a name for the destination, for example
ilert_webhookTemplate: the template you created in the previous section, for example
ilert_templateURL: the webhook URL you copied from your ilert alert source
Method:
post
Then click Save.

In OpenObserve: Use the destination in an alert
The destination now appears in the list. Click on Alerts in the left navigation.

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

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?