The log analysis feature of Alibaba Cloud Short Message Service (SMS) lets you download logs or query results locally. You can select a time range and file format for the download.
Procedure
Log on to the Short Message Service console.
In the left-side navigation pane, choose .
Click the O&M Center tab.
Click the Raw Log tab to view log details. In the toolbar, click the download icon and choose Download Log or Download Task to export the logs.
On the Raw Logs tab, choose .
-
In the Download Log dialog box, configure the following parameters and click OK.
Parameter
Description
Task Name
Download task name.
Log Quantity
Number of logs to download.
Data Format
CSV or JSON.
-
CSV: Column names come from the first 100 log fields. New fields in subsequent logs are stored in JSON format in an unnamed final column.
-
JSON: Each log entry is a single JSON line.
Quote
Encloses fields containing special characters to prevent unintended escaping.
Download Inaccurate Results
If you select No, the download fails if the query results are inaccurate.
Compression Method
gzip, lz4, zstd, or none.
Compression significantly reduces file size and download time for large datasets.
-
-
In the Download Tasks dialog box, wait for the Status of the task to change to Successful, and then click Download to save the logs to your local machine.
Alternatively, on the Raw Logs tab, you can choose to open the Download Tasks dialog box and view download records.
> Download Log