AlertRule
AlertRule
JSON Example
{
"conn_app_log_rule": {
"filter_action": "string",
"filter_string": "string"
},
"event_match_filter": "string",
"metrics_rule": [
{
"duration": 0,
"metric_id": "string",
"metric_threshold": {
"comparator": "string",
"threshold": 0
}
}
],
"operator": "string",
"sys_event_rule": [
{
"event_details": [
{
"comparator": "string",
"event_details_key": "string",
"event_details_value": "string"
}
],
"event_id": "string",
"not_cond": false
}
]
}
string
event_match_filter
Optional
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
array of AlertRuleMetric
metrics_rule
Optional
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
string
operator
Optional
Constraints: default: OPERATOR_AND
Enum options - OPERATOR_AND, OPERATOR_OR. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
array of AlertRuleEvent
sys_event_rule
Optional
Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.