Skip to main content
Sync Alibaba Cloud Log Service (SLS) monitoring alert events to Flashduty via webhook for automated alert noise reduction.

In Flashduty


You can obtain an integration push URL through either of these two methods:

Using Private Integration

Choose this simpler option when you don’t need to route alerts to different channels.

Using Shared Integration

Choose this option when you need to route alerts to different channels based on the alert payload information.

In Alibaba Cloud SLS


Step 1: Configure Webhook
  1. Log in to your Alibaba Cloud Console, select Log Service (SLS), and choose a Project
  2. Navigate to Alert->Alert Management->Webhook Integration page, click the Create button to start editing
drawing
  1. As shown, select “Generic Webhook” for Type, choose POST for Request Method, and enter the integration push URL (obtained after saving) for Request URL
drawing
  1. Click the Confirm button to save
Step 2: Configure Content Template
  1. Switch to the Content Template page and click the Add button to start editing
  2. Enter the Webhook-Custom configuration, select “Send Individually” for Send Method, and copy the following content for Send Content:
{{ alert | to_json}}
drawing
  1. Click the Confirm button to save
Step 3: Configure Action Policy
  1. Switch to the Action Policy page and click the Add button to start editing
  2. Enter the First Action List configuration and click to add an Action Group node
  3. Select “Generic Webhook” for Channel, use previously created objects for Select Webhook and Content Template, and choose “Any” for Send Period
drawing
  1. Click Finish to complete the first action list creation
  2. Click the Confirm button to save
Step 4: Configure Monitoring Rules
  1. Switch to the Rules/Transactions page and click Create Alert button or select an existing alert to update
  2. Enter the Alert Rule editing page, Alert Policy
  3. Select “Normal Mode” for Alert Policy and use the previously created object for Action Policy
drawing
  1. Click the Confirm button to save
  2. Repeat these steps for all other rules to push all alerts to Flashduty

Status Mapping


Alibaba Cloud SLS monitoring to Flashduty alert severity mapping:
Alibaba Cloud SLSFlashdutyStatus
10CriticalCritical
8CriticalCritical
6WarningWarning
4WarningWarning
2InfoInfo