Skip to main content
Sync Volcengine Log Service (TLS) 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 method when you don’t need to route alert events to different channels - it’s simpler.

Using Shared Integration

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

In Volcengine


I. Volcengine Log Service (TLS) Alert Push Configuration

Step 1: Create Flashduty Alert Channel

  1. Log in to your Volcengine console, search for TLS Log Service product, and enter the corresponding product console
  2. Select Alert=>Notification Management from the left navigation bar
  3. Choose Webhook Alert Integration and click Create Webhook Alert Integration
drawing
  1. Fill in the information in the pop-up editor, enter Flashduty as the name
  2. Select Custom Webhook as type and POST as request method
  3. Enter the Integration Push URL as the request URL (generated after saving the integration name on the current page)
  4. Keep the request headers as default and click Create
drawing

Step 2: Create Content Template

  1. Return to the Notification Management page
  2. Select Content Templates and click Create Content Template
  3. Fill in the relevant information, enter Flashduty as the template name
  4. Other channel content can be empty. In the Custom Webhook notification content, enter the following template:
{
	"AccountID":"{{AccountID}}",
	"ProjectName":"{{ProjectName}}",
	"AlarmTopicName":"{{AlarmTopicName}}",
	"Region":"{{Region}}",
	"Alarm":"{{Alarm}}",
	"AlarmID":"{{AlarmID}}",
	"Duration":"{{Duration}}",
	"Condition":"{{Condition}}",
	"HappenThreshold":"{{HappenThreshold}}",
	"Topics":"{{Topics|join:','}}", 
	"NotifyTimeUnix":"{{NotifyTimeUnix}}",
	"NotifyType":"{{NotifyType}}",
	"Severity":"{{Severity}}",
	"ConsecutiveAlertNums":"{{ConsecutiveAlertNums}}",
	"TriggerParams":{{toJson(TriggerParams)|safe}}, 
	"ExecuteQuery":{{toJson(ExecuteQuery)|safe}},
	"DetailUrl":"{{DetailUrl}}",
	"FireResultsCount":"{{FireResultsCount}}"
}
  1. Click Confirm to complete the content template creation
drawing

Step 3: Create Notification Group

  1. Return to the Notification Management page
  2. Select Notification Groups and click Create Notification Group
  3. Fill in the relevant information, enter Flashduty as the group name
  4. Configure notification rules and other settings as needed (skipped here)
  5. In notification channel configuration, keep Custom Webhook checked
  6. Select the Flashduty channel created in Step 1 for Webhook
  7. Select the Flashduty template created in Step 2 for Content Template
  8. Click Save after completing other configurations
drawing

Step 4: Configure Alert Policy

  1. Select Alert=>Alert Policies from the left navigation bar
  2. Create a new or edit an existing alert policy
  3. Configure alert rules as needed (skipped here)
  4. Click Associate Notification Group in the Notification Group section
  5. In the pop-up selection box, choose the Flashduty notification group created in Step 3, then click Associate
  6. Click Create/Save after configuring other settings
drawing

II. Status Mapping

TLSFlashdutyStatus
CriticalCriticalCritical
WarningWarningWarning
InfoInfoInfo