Skip to main content

Creating alert conditions

When setting up a Coralogix alert condition, you may configure up to five condition rules, each with a threshold, timeframe, and individual priority. Priority values range from P1 through P5, with P1 being the highest priority and P5 being the lowest.

Condition rules determine the alert priority when the alert definition conditions are met and an alert is triggered. For instance, breaching a P1 threshold triggers a P1 alert, while breaching a lower-priority threshold triggers a corresponding alert (for example, P2). If a threshold meets multiple priorities, the highest priority is applied.

Triggered alert conditions with their associated priority can be viewed in Incidents.

Multiple alert conditions are supported for the following alert types:

Set up an alert condition​

Select a condition type​

You can select whether to be alerted when the conditions for an alert definition are more than or less than a specific threshold.

Define condition rules​

Configure up to five condition rules for your alert definition.

Limitations​

In logs threshold, logs ratio, and metric threshold alerts, all condition rules must use time windows from the same range:

RangeTime windows
11 minute to 30 minutes
2Over 30 minutes and under 12 hours
312 hours to 36 hours

For example, if one rule uses a 1-hour time window, every other rule must use a window over 30 minutes and under 12 hours, such as 45 minutes or 8 hours. Until all rules are in the same range, the alert wizard shows an error under the rules and you can't continue or save the alert.

Next steps​

Create metric alerts directly from numeric log fields with Log2Metric alert.

Last updated on