LogAlertRuleCondition interface

A condition of the scheduled query rule.

Properties

alertSensitivity

The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant and required only for dynamic threshold rules of the kind LogAlert.

criterionType

Specifies the type of threshold criteria

dimensions

List of Dimensions conditions

failingPeriods

The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.

ignoreDataBefore

Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format). Relevant only for dynamic threshold rules of the kind LogAlert.

metricMeasureColumn

The column containing the metric measure number. Relevant only for rules of the kind LogAlert.

metricName

The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.

operator

The criteria operator. Relevant and required only for rules of the kind LogAlert.

query

KQL log query alert

resourceIdColumn

The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.

threshold

the criteria threshold value that activates the alert. Relevant and required only for static threshold rules of the kind LogAlert.

timeAggregation

Aggregation type. Relevant and required only for rules of the kind LogAlert.

Property Details

alertSensitivity

The extent of deviation required to trigger an alert. Allowed values are 'Low', 'Medium' and 'High'. This will affect how tight the threshold is to the metric series pattern. Relevant and required only for dynamic threshold rules of the kind LogAlert.

alertSensitivity?: string

Property Value

string

criterionType

Specifies the type of threshold criteria

criterionType?: string

Property Value

string

dimensions

List of Dimensions conditions

dimensions?: LogAlertRuleDimension[]

Property Value

failingPeriods

The minimum number of violations required within the selected lookback time window required to raise an alert. Relevant only for rules of the kind LogAlert.

failingPeriods?: LogAlertRuleConditionFailingPeriods

Property Value

ignoreDataBefore

Use this option to set the date from which to start learning the metric historical data and calculate the dynamic thresholds (in ISO8601 format). Relevant only for dynamic threshold rules of the kind LogAlert.

ignoreDataBefore?: Date

Property Value

Date

metricMeasureColumn

The column containing the metric measure number. Relevant only for rules of the kind LogAlert.

metricMeasureColumn?: string

Property Value

string

metricName

The name of the metric to be sent. Relevant and required only for rules of the kind LogToMetric.

metricName?: string

Property Value

string

operator

The criteria operator. Relevant and required only for rules of the kind LogAlert.

operator?: string

Property Value

string

query

KQL log query alert

query?: string

Property Value

string

resourceIdColumn

The column containing the resource id. The content of the column must be a uri formatted as resource id. Relevant only for rules of the kind LogAlert.

resourceIdColumn?: string

Property Value

string

threshold

the criteria threshold value that activates the alert. Relevant and required only for static threshold rules of the kind LogAlert.

threshold?: number

Property Value

number

timeAggregation

Aggregation type. Relevant and required only for rules of the kind LogAlert.

timeAggregation?: string

Property Value

string