Skip to main content
Sync Alibaba Cloud Log Service (SLS) monitoring alert events to Flashduty through webhook.

In Flashduty On-call

You can get the integration push URL in either of the following ways.

Use a dedicated integration

Choose this option if all alerts go to one channel. It’s the simpler setup.
  1. In the Flashduty console, select Channel and open a channel
  2. Select Configuration → Integrations → Private integration, then click Add integration
  3. Choose Alibaba Cloud SLS integration and click Save to generate a card
  4. Open the generated integration card and copy the Push URL

Use a shared integration

Choose this option if you need to route alerts to different channels based on the alert payload.
  1. In the Flashduty console, go to Integration Center → Alerts
  2. Select Alibaba Cloud SLS integration:
    • Integration Name: Define a name for this integration
  3. Configure the default route and select a channel. You can add more rules under Routing after creation
  4. Click Save and copy the generated Push URL

In Alibaba Cloud SLS

1

Create a webhook integration in SLS

Where: Log Service (SLS) console › your project › Alert › Alert Management › Webhook Integration › CreateSLS alert management entryClick Confirm.Creating a webhook integration in SLS
2

Create a content template in SLS

Where: Alert Management › Content Template › Add › Webhook-Custom
Click Confirm.Creating a content template in SLS
3

Create an action policy in SLS

Where: Alert Management › Action Policy › Add › First Action ListIn First Action List, add an Action Group node:Click Finish to complete the first action list, then click Confirm.Creating an action policy in SLS
4

Select the action policy in the alert rule

Where: Log Service (SLS) console › Alert › Rules/Transactions › Create Alert (or edit an existing alert) › Alert Rule › Alert PolicyClick Confirm. Repeat these steps for the other rules to push all alerts to Flashduty.Selecting the action policy in an SLS alert rule
5

Trigger an alert and confirm

Where: Log Service (SLS) console › Alert › Rules/Transactions › your alertWait for the rule to fire (or temporarily lower its threshold to trigger once). Go back to Flashduty. If the integration shows a Latest event time, the setup works.

Status and severity

Alibaba Cloud SLS monitoring to Flashduty alert severity mapping:

Alibaba Cloud ActionTrail

Log Service (SLS) provides ActionTrail’s “event alert” feature, so ActionTrail has no separate push channel. Create a trail that delivers events to a Logstore, and then configure an SLS alert on that Logstore. The notification channel reuses the webhook steps above, so you don’t need a separate integration for ActionTrail.
  1. Log in to the Alibaba Cloud Console, go to ActionTrail, and create a trail that delivers events to a Logstore in Log Service (SLS)
  2. Go to ActionTrail Console → Event Alert → Alert Center (or go directly to the Log Service SLS console for that Logstore), and select the corresponding trail or Logstore
  3. Follow steps 1–4 of “In Alibaba Cloud SLS” above to configure the webhook, content template, action policy, and monitoring rule, using the same Flashduty integration push URL