Manage push channels

更新时间:
复制 MD 格式

Push raw or denoised alert data to Simple Message Queue (SMQ), Simple Log Service, Function Compute, or a webhook.

Create a push channel

The following example creates a push channel that pushes alert data to Simple Log Service.

Prerequisites: Simple Log Service is activated with a project and Logstore created. Getting Started.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Event Center > Event Subscription.

  3. On the Event Subscription page, click the Push Channel tab.

  4. On the Push Channel tab, click Create Push Channel.

  5. In the Create Push Channel panel, enter a channel name, set Target type to Simple Log Service, and select the region, Project name, and Logstore.

    Table 1. Parameters of a notification push channel

    Parameter

    Description

    Channel name

    The channel name. We recommend that you use a Chinese name.

    Target type

    The destination type. Valid values:

    • Simple Message Queue (SMQ): Pushes alerts to a specified SMQ topic or queue. Specify the topic or queue and its region.

      Overview.

    • Simple Log Service: Pushes alerts to a specified Logstore. Specify the region, Project name, and Logstore.

      Getting Started.

    • Function Compute: Pushes alerts to a specified function. Specify the region, service name, and function name.

      Quickly create a function.

    • webhook: Pushes alerts to a publicly accessible URL. Specify the request method, data format, address, custom header, and signature obfuscation string.

    Notification Template

    The notification template. The channel type must be Data.

    Create a notification template.

  6. Click OK.

  7. View the pushed data in the specified Logstore.

Modify a push channel

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Event Center > Event Subscription.

  3. On the Event Subscription page, click the Push Channel tab.

  4. On the Push Channel tab, find the channel that you want to modify and click Edit in the Actions column.

  5. In the Modify Push Channel panel, update the parameters as needed.

  6. Click OK.

Delete a push channel

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Event Center > Event Subscription.

  3. On the Event Subscription page, click the Push Channel tab.

  4. On the Push Channel tab, find the channel that you want to delete and click Delete in the Actions column.

  5. In the Confirm Deletion dialog box, click OK.

References