In Flashduty
You can obtain an integration push URL through either of these two methods:
Using Dedicated Integration
Choose this method when you don’t need to route alert events to different channels. It’s simpler and recommended.Using Shared Integration
Choose this method when you need to route alerts to different channels based on the alert event’s payload information.In ElastAlert 2
Configure ElastAlert 2 Alerts
Follow the ElastAlert Flashduty push configuration document- Create or edit the alert rule file, for example
rules/elastalert2_alert.yaml. - Fill in the
flashdutyalert type in thealertfield. - Fill in the integrated
integration keyin theflashduty_integration_keyfield. - The
flashduty_titleandflashduty_event_statusare required fields, and other fields can be filled in as needed. For the field definitions, please refer to the following table.
- Restart ElastAlert and wait for the alert to trigger.