All Products
Search
Document Center

Simple Log Service:Enable the log analysis feature

Last Updated:Aug 28, 2023

This topic describes how to enable the log analysis feature in the Anti-DDoS Origin console and deliver mitigation logs to Simple Log Service.

Prerequisites

An Anti-DDoS Origin Enterprise instance is purchased. For more information, see Purchase an Anti-DDoS Origin Enterprise instance.

Procedure

Important

Before you can use a Resource Access Management (RAM) user to enable the log analysis feature of Anti-DDoS Origin, you must grant the required permissions to the RAM user. For more information, see RAM user authorization.

  1. Log on to the Traffic Security console.

  2. In the left-side navigation pane, choose Network Security > Anti-DDoS Origin > Mitigation Logs.

  3. In the top navigation bar, select the resource group and region of your instance.

  4. The first time you enable the log analysis feature, you must complete RAM authorization as prompted.

    Warning

    Do not revoke permissions from the RAM role or delete the RAM role. Otherwise, Anti-DDoS Origin logs cannot be delivered to Simple Log Service.

  5. In the Instance drop-down list on the Mitigation Logs page, select the instance and click Enable Now.

    If you do not enable the log analysis feature when you purchase an Anti-DDoS Origin Enterprise instance, click Upgrade Now. On the Upgrade /Downgrade page, enable the feature and complete the payment as prompted.

    Important
    • You can enable the log analysis feature free of charge during public preview.

    • We recommend that you check the storage usage and validity period on a regular basis when you use the log analysis feature.

      If more than 70% of storage space is used, we recommend that you increase the log storage capacity. Otherwise, you cannot store new logs and data loss may occur.

    After you enable the log analysis feature for the instance, the instance automatically delivers mitigation logs to Simple Log Service. You can turn off Status to disable the feature.

What to do next

After mitigation logs are delivered to Simple Log Service, you can query, analyze, download, ship, and transform the logs in the Simple Log Service console. You can also configure alert rules for the logs. For more information, see Common operations on logs of Alibaba Cloud services.