With ApsaraVideo VOD, you can query and download CDN raw access logs for a specified domain name. This topic describes the log generation rules and the download procedure.
Log generation rules
Log files are generated with a delay of up to 24 hours. During peak hours, this delay may be longer.
You can download log data for the past 30 days.
Log files use the following naming convention:
accelerated domain name_YYYY_MM_DD_StartTime_EndTime.gz. For example:example.aliyundoc.com_2018_10_30_000000_010000.gz.
Log example
[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] |
visitor IP address | 192.168.0.0 |
proxy IP address | - |
response time (ms) | 1542 |
referer | - |
method | GET |
Request URL |
|
HTTP status code | 200 |
request size (bytes) | 191 |
response size (bytes) | 2830 |
cache hit status | HIT, MISS |
User-Agent header |
|
File type | video |
server IP address | 1.1.1.1 |
Procedure
-
Log on to the ApsaraVideo VOD console.
-
In the navigation pane on the left, choose Data Center.
Click Manage Logs.
Select the domain name and time range that you want to query, and then click Search.
NoteYou can download logs from the last 30 days.

In the Actions column, click Download.
