All Products
Search
Document Center

Simple Log Service:Set an alert for an OSS shipping task (new version)

Last Updated:Jul 17, 2026

Log Service provides built-in monitoring rule templates that you can use to monitor OSS shipping tasks in real time and receive alert notifications through DingTalk and other channels.

Prerequisites

An OSS shipping task is created. For more information, see Create an OSS shipping task (new version).

Step 1: Enable task run logs

  1. Log on to the Simple Log Service console.

  2. In the Project List area, click the target Project.

  3. In the upper-left corner of the page, click the 概览 icon to enable task run logs.

    • If you have not enabled detailed logs for the Project, on the Service Log tab, click Enable Detailed Logs.

    • If you have enabled detailed logs for the Project, on the Service Log tab, click the 服务日志 icon.

  4. Configure the following parameters and click OK.

    Parameter

    Description

    Job Operational Logs

    After you enable Job Operational Logs, Log Service automatically creates a LogStore named internal-diagnostic_log in the specified Project to store run logs and error logs for tasks such as scheduled SQL, MaxCompute shipping, OSS shipping, and data import. For more information about the log fields, see Task run logs for data transformation (new version), data import, and data shipping (new version).

    Log Storage Location

    Specify a Project to store task run logs. The following options are available:

    • Auto Create (Recommended)

    • Current Project

    • Another Project in the same region

    After you enable task run logs, you can view the run logs and error logs of your OSS shipping task in the internal-diagnostic_log LogStore of the specified Project. The log topic (__topic__) is etl_metrics. To query logs for a specific task by name, use the query statement job_name:YourTaskName, for example, job_name:job-1646****946.

Step 2: Configure an action policy

  1. Log on to the Simple Log Service console.

  2. Go to the Action Policy management page.

    1. In the Project List area, click the target Project.

    2. In the left-side navigation pane, click the image icon to go to the Alert Center page.

    3. Click Notification Policy > Action Policy.

  3. Find the target action policy (sls.app.export.builtin) and click Modify.

    You can also create an action policy for alert notifications. For more information, see Action policies.

  4. In the Edit Action Policy dialog box, on the Initial Action List tab, change the Request URL to the webhook URL of your DingTalk group chatbot. Keep the default settings for other options.

    To get the webhook URL for a DingTalk group chatbot, see DingTalk-Custom. You can also use other notification channels. For more information, see Notification methods.

  5. Click Confirm.

Step 3: Add an alert rule

Log Service provides five built-in monitoring rule templates. Add an alert rule that meets your requirements. The following example uses the data shipping latency template.

  1. Log on to the Simple Log Service console.

  2. In the Project List area, click the target Project.

    This is the Project where your internal-diagnostic_log LogStore is located.

  3. In the left-side navigation pane, click the image icon to go to the Alert Center page.

  4. On the Alert Rules tab, click Create from Template.

  5. In the panel that appears on the right, select the Data Shipping Latency Monitoring card and follow the on-screen instructions to complete the configuration. For more information, see Alert rule configuration.

    After the alert rule is added, it appears in the monitoring rule list.

Related operations

After you set an alert for an OSS shipping task, you can perform the following operations:

Actions

Description

Disable an alert rule

Disabling an alert rule stops it from triggering alerts, and its Status changes to Disabled.

You can re-enable monitoring without reconfiguration.

Temporarily disable an alert rule

Temporarily disabling an alert rule suspends alert triggering for a specified period.

Resume an alert rule

You can resume a temporarily disabled alert rule at any time.

Delete an alert rule

Deleting an alert rule removes all configured parameters, such as the Alibaba Cloud account. To re-enable monitoring, you must reconfigure the parameters.

Modify an alert rule

Modify the configuration of an alert rule.