groupingKey, and Flashduty uses it as the Alert Key: the trigger, repeat notifications, and recovery of the same alert keep updating one Flashduty alert.
In Flashduty On-call
You can get the integration push URL in either of the following ways.
Use a dedicated integration
- In the Flashduty console, select Channel and open a channel
- Select Configuration → Integrations → Private integration, then click Add an integration
- Select Coralogix and click Save
- Open the new integration card and copy the Push URL
Use a shared integration
- In the Flashduty console, go to Integration Center → Alert Events
- Select Coralogix and enter an integration name
- Configure the default route and select a channel. You can add more rules under Route after creation
- Click Save and copy the generated Push URL
Configure Coralogix
These steps require Notification Center admin permissions (create connectors, presets, and routers, and edit alert definition labels).
1
Create a Generic HTTPS connector
- In the left navigation, hover over Integrations, select Notification Center, and open the Connectors tab
- Under Add new connector, click + next to Generic HTTPS and name the connector
Flashduty - Paste the complete Flashduty integration Push URL into URL, keep the other fields at their defaults, and save the connector
{}. Flashduty returns success and creates no alert.2
Create an alert preset
- Open the Presets tab, switch to Alerts, and under Add new alert preset click + next to Generic HTTPS
- Paste the following JSON into Body and save the preset
3
Create a router and add an alert rule
- Open the Routers tab and create a router with a routing label, for example Team set to
payments. Routing label keys can only be Environment, Team, or Service - After saving, open the router’s Alerts tab (it shows Cases by default) and click New rule. Notify for all trigger types is on by default, so both trigger and recovery notifications are sent. Leave the condition empty to match all alerts
- Select the
Flashdutyconnector and the alert preset you created as the destination
4
Configure the alert definition
- Edit or create an alert definition. In the Response step, set the notification target to Alerts (not Cases) and Notification Method to Route via Labels
- Add a routing label that matches the router, for example Team set to
payments, which renders asrouting.team: payments - Keep Send a notification when resolved selected (it is selected by default). Otherwise, Coralogix does not send recovery notifications
- If the alert uses Group by, select Separate cases under Case settings so that each combination is notified separately and becomes a separate Flashduty alert. The default Combined case puts all combinations into one notification
5
Verify the lifecycle
Let the alert actually trigger and confirm that Flashduty receives an active alert. Then let the condition return to normal and confirm that the original alert recovers. For a logs threshold alert with a 5-minute window, the trigger notification arrives about 3 minutes after the logs are written, and the recovery notification about 6 minutes after the logs stop.Send test notification on the preset renders the preset with sample data and creates an Info alert named
[Test Alert] General Example in Flashduty. This alert never receives a recovery notification, so close it manually in Flashduty.Alert Key
Flashduty uses
alert.groupingKey as the Alert Key. Coralogix defines groupingKey as the deduplication key in its alert notification schema, and its official Opsgenie and Jira Service Management setups use groupingKey to close the matching alert on Resolved.
With Separate cases, each Group by combination is notified separately with its own groupingKey, so each one is a separate Flashduty alert. With Combined case, one notification covers every matching combination, so Flashduty creates one alert and lists each combination’s priority and values in the description, one per line.
Changes to the title, description, priority, or group values do not change the Alert Key.
Status and severity
Flashduty uses
status to tell triggers from recoveries, and priority (alert.highestPriority, or the alert definition priority when empty) to set the severity.
When
status is Resolved, Flashduty recovers the original alert and keeps its last severity. An empty or any other status is rejected.
Labels
An alert can have at most 50 labels. Requests that exceed this limit are rejected.
Troubleshooting
- Coralogix reports a delivery failure: Confirm that the connector URL is the complete push URL and includes
integration_key - Flashduty returns a parameter error: Confirm that the preset Body matches the template above, renders valid JSON, and that
grouping_keyandstatusare not empty - Alerts do not recover: Confirm that Send a notification when resolved is selected on the alert definition and that the routing rule has Notify for all trigger types on or includes Resolved. For alerts created with Terraform or the API, also confirm that
notifyOnis nottriggered_only. Resolving an alert manually in Coralogix does not send a notification - Several combinations merge into one alert: The alert definition’s Case settings is Combined case. Switch it to Separate cases
- Using a legacy outbound webhook: This integration parses the body rendered by a Notification Center preset. Legacy outbound webhook templates with
$placeholders do not work. Coralogix recommends Notification Center over legacy webhooks