All Products
Search
Document Center

Short Message Service:Export logs

Last Updated:Feb 06, 2026

The log analysis feature of Alibaba Cloud Short Message Service (SMS) allows you to download logs or query results to your local machine. You can select a time period and file format for download based on your business requirements.

Procedure

  1. Log on to the Alibaba Cloud SMS Console.

  2. In the left navigation pane, choose .

  3. Click the O&M Center tab. On the Raw Data sub-tab, move the pointer over the image icon and click Download Log.

    image

  4. In the dialog box, set the parameters based on your needs 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.

    For more information, see Download logs.

  5. In the Download Tasks dialog box, wait until the download task enters the Successful state and click Download to download the logs to your local machine.

    You can also choose 下载日志 > Download Tasks on the Raw Data sub-tab to open the Download Tasks dialog box and view the download records.