ElastAlert2 Alert Integration
In Flashduty
Using Dedicated Integration
Expand
1.
2.
3.
4.
Using Shared Integration
Expand
1.
2.
3.
Route
to configure more routing rules)4.
5.
In ElastAlert 2
Configure ElastAlert 2 Alerts
1.
rules/elastalert2_alert.yaml
.2.
flashduty
alert type in the alert
field.3.
integration key
in the flashduty_integration_key
field.4.
flashduty_title
and flashduty_event_status
are required fields, and other fields can be filled in as needed. For the field definitions, please refer to the following table.Field | Required | Type | Definition |
---|---|---|---|
title | 是 | string | The alert title, it cannot exceed 512 characters. |
event_status | 是 | string | The alert status. Enum values (capitalized): Critical:severe, Warning:warning, Info:reminder, Ok:recovery. When specified as Ok, it means automatic recovery of the alert. |
alert_key | 否 | string | The alert identifier, used to update or automatically recover existing alerts. You can customize this value, but it cannot exceed 255 characters. You can also rely on the system to automatically generate this value, which will be returned in the response. If you report a recovery event, this value must exist. |
description | 否 | string | The alert description |
check | 否 | string | The alert check item |
resource | 否 | string | The alert resource |
service | 否 | string | The alert service name |
metric | 否 | string | The alert metric name |
group | 否 | string | The alert group |
cluster | 否 | string | The alert cluster |
app | 否 | string | The alert application |
env | 否 | string | The alert environment |
5.
修改于 2025-03-27 07:56:41