Within the Uptime app, create a Monitor Status rule to receive notifications based on errors and outages.
- To access this page, go to Observability > Uptime.
- At the top of the page, click Alerts and rules > Create rule.
- Select Monitor status rule.
If you already have a query in the overview page search bar, it’s populated here.
You can specify the following thresholds for your rule.
Receive alerts when a monitor goes down a specified number of times within a time range (seconds, minutes, hours, or days).
Receive alerts when a monitor goes below a specified availability threshold within a time range (days, weeks, months, or years).
Let’s create a rule for any monitor that shows
Down more than three times in 10 minutes.
We’ll choose to only be notified on an alert status change so that we’re not flooded with alert notifications.
This means actions are not repeated when an alert remains active across checks. Actions will run only when the
alert status changes.
This rule covers all the monitors you have running. You can use a query to specify specific monitors, and you can also have different conditions for each one.
The final step when creating a rule is to select one or more actions to take when the alert is triggered.
You can extend your rules by connecting them to actions that use the following supported built-in integrations. Actions are Kibana services or integrations with third-party systems that run as background tasks on the Kibana server when rule conditions are met.
You can configure action types on the Settings page.
To customize the notification message, select from a list of variables you would like to include.