All Products
Search
Document Center

Short Message Service:Activate or deactivate Simple Log Service

Last Updated:Dec 25, 2025

Simple Log Service provides one-stop services, such as log query, analysis, processing, and consumption. This lets you focus on analysis instead of performing tedious query and organization tasks. This topic describes how to enable or disable the log analysis feature.

Prerequisites

Enable the log analysis feature

  1. Log on to the Short Message Service console.

  2. In the navigation pane on the left, select Analytics > >Messaging Log Analysis.

  3. On the Messaging Log Analysis page, click Authorize.

  4. Click OK and follow the on-screen instructions to grant Short Message Service access to Simple Log Service using the AliyunServiceRoleForDysmsLog role.

    Important
    • This is a one-time operation required for the initial configuration. You must use an Alibaba Cloud account to perform this operation.

    • If you are a Resource Access Management (RAM) user, you must have the required permissions. For more information, see RAM user authorization.

    • Do not revoke the authorization or delete the RAM role. Otherwise, Fraud Detection logs cannot be pushed to Simple Log Service.

    • After you enable the log analysis feature for Short Message Service, the system creates a Project named sms-log-Alibaba Cloud account ID and a dedicated Logstore named sms-log.

    After the authorization is successful, the log analysis feature is enabled.

  5. You can view data in the Log Operations Center, Business Statistics Center, and Operations Management Center.

Disable the log analysis feature

If you no longer require the log analysis service for Short Message Service, you can delete the associated roles in the RAM console and the project from the Project list.

  1. Go to Projects and delete the sms-log-Alibaba Cloud account ID project.image

  2. Go to the RAM role list and delete the AliyunServiceRoleForDysmsLog and AliyunServiceRoleForSLSAudit roles.

image

After the deletion is complete, the log analysis feature will be disabled the next day.

Important

The change takes effect the next day. You are still charged for that day. No more fees are incurred after that.

Advanced management

You can use advanced management features by navigating to the Simple Log Service console. From the console, you can perform advanced operations, such as setting up alerts and notifications, subscribing to and consuming data in real time, delivering data, and connecting to visualization services.

  1. Log on to the Short Message Service console.

  2. In the navigation pane on the left, select Analytics > > Messaging Log Analysis.

  3. In the upper-right corner, click Set Log Retention Period.

  4. In the dialog box that appears, click Simple Log Service Console to open the Simple Log Service console.

    image

  5. You can perform the following advanced management operations on the dedicated Project and Logstore for Short Message Service:

What to do next

  • After Simple Log Service collects SMS logs, you can query, download, deliver, and process the logs, and create alerts. For more information, see Common operations on logs of Alibaba Cloud services.

  • You can export SMS log query results to your computer. You can download logs from the current page in CSV format or download all logs in TXT format. For more information, see Export logs.