ApsaraVideo VOD lets you query and download raw CDN access logs for a specified domain name. This topic describes the log generation rules and how to download logs.
Log generation rules
Log files are usually generated within 24 hours. During peak hours, this delay may be longer.
You can download log data from the last 30 days.
Log files follow this naming convention: Accelerated domain name_Year_Month_Day_Start time_End time. For example: example.aliyundoc.com_2018_10_30_000000_010000.gz.
Example log
[9/Jun/2015:01:58:09 +0800] 192.168.0.0 - 1542 "-" "GET http://www.aliyun.com/index.html" 200 191 2830 MISS "Mozilla/5.0 (compatible; AhrefsBot/5.0; +example.aliyundoc.com/robot/)" "video" 1.1.X.X Field descriptions
Field | Parameter |
Time | [9/Jun/2015:01:58:09 +0800] |
Client IP address | 192.168.0.0 |
Proxy IP address | None |
Response time (ms) | 1542 |
Referer | None |
Method | GET |
Access URL |
|
HTTP status code | 200 |
Request size (bytes) | 191 |
Response size (bytes) | 2830 |
Cache hit status | HIT (hit), MISS (miss) |
User-Agent header |
|
File type | video |
Connection IP address | 1.1.1.1 |
Procedure
Log on to the ApsaraVideo VOD console.
In the left navigation pane, choose Data Center.
Click Manage Logs.
Select a domain name and time range, and then click Search.
NoteYou can download logs from the last 30 days.

In the Actions column, click Download.
