All Products
Search
Document Center

Short Message Service:Export logs

Last Updated:Feb 12, 2026

The log analysis feature of Alibaba Cloud Short Message Service (SMS) lets you download logs or query results to your local machine. Select a time range and file format as needed.

Procedure

  1. Log on to the Short Message Service console.

  2. In the left navigation pane, choose .

  3. Click the O&M Center tab.

    image

  4. On the Raw Logs tab, choose 下载日志 > Download Log.image

  5. In the Download Log dialog box, configure the following parameters and click OK.

    Parameter

    Description

    Task Name

    The name of the download task.

    Log Quantity

    Select the number of logs to download.

    Data Format

    The CSV and JSON formats are supported.

    • If you select CSV, the column names in the file are generated based on the fields of the first 100 logs. If subsequent logs contain new fields, the new fields are stored in the last column of the CSV file in JSON format. The name of the last column is empty.

    • If you select JSON, the content of each log is converted to JSON format and written to the file as a single line.

    Quote

    Select a quote character to enclose special characters in logs and prevent them from being escaped.

    Download Inaccurate Results

    If you set this parameter to No, the download fails if the query results are inaccurate.

    Compression Method

    Supported compression methods include gzip, lz4, and zstd. You can also choose not to compress the logs.

    If you download many logs, we strongly recommend that you compress them. This can significantly reduce the download volume and time.

  6. In the Download Tasks dialog box, wait for the task Status to change to Successful. Then, click Download to save the logs to your local computer.

    You can also select Download Logs > Download Tasks on the Raw Logs tab to open the Download Tasks dialog box and view the download records.