To create a new alert, you’ll start in Kibana so you can test the query you want to use. After that, you’ll continue to the Create a New Alert page, where you can configure the alert and notification settings.
Community plans have a maximum of 50 alerts.
If you want help updating an existing alert, you can skip the first part of this page.
To start a new alert
Set your query in Kibana
In Kibana, type a query in the query bar and press Enter. Review the results in the histogram and the document table, and make sure your query returned the expected results.
Click Create Alert (to the right of the query bar). The Create Alert Definition page is shown.
Continue with To configure an alert.
To configure an alert
Name and tag the alert
Type a Name and a detailed Description.
Add Tags to help categorize this alert.
(Optional) Edit the search settings
If you need to, change your alert Query and the Accounts that the query will search.
If you use an invalid query, the alert will be automatically disabled. Run your query in Kibana so you can be sure you’re getting the expected results.
(Optional) Edit group by settings
Click Add group by to add up to 3 groups.
In the Select Field list, choose a field to group by.
To limit the available fields, choose a log type from the Filter by type list. To show fields for all log types, choose Clear filter.
Set threshold and severity levels
Set your threshold and severity levels in the Trigger section. Click Add multiple conditions to add up to 3 threshold levels.
(Optional) Set recipients
If you want to receive notifications or emails when the alert is triggered, choose an alert endpoint. If you don’t choose an endpoint, triggered alerts will still be logged:
Choose the endpoints or email addresses to notify. If you need help adding a new endpoint, see Alert endpoints.
Choose a time period to suppress notifications.
When notifications are suppressed, Logz.io will continue to log triggered alerts without sending notifications. You can search triggered alert logs at any time.
Choose an output format
Choose an Output.
To send raw JSON documents to your alert endpoints, choose Default format. To send a summary table, choose Custom format.
If you added any groups (in step 3), the custom format table will show the aggregated fields that you used. To change these fields, you’ll need to change your Group by selection.
If you choose Custom format, click to add a column to the table, and then choose a field to show in the new column.
Click Save to save your alert. If the thresholds are passed and the alert is triggered, Logz.io will log the alert and send the configured notifications.