ApsaraVideo VOD allows you to query and download raw Content Delivery Network (CDN) access logs of a specified domain. This topic introduces the generation rules of logs and describes how to download logs.

Generation rules of logs

  • Logs are updated within 24 hours after events occur. However, during peak hours, the delay may exceed 24 hours.
  • You can download only the logs that are generated in the last 30 days.
  • Logs are named in the format of Domain name for CDN_Year_Month_Day_StartTime_EndTime, for example, example.aliyundoc.com_2018_10_30_000000_010000.gz.
[9/Jun/2015:01:58:09 +0800] 192.168.XX.XX - 1542 "-" "GET http://www.aliyundoc.com/index.html" 200 191 2830 MISS "Mozilla/5.0 (compatible; AhrefsBot/5.0; +example.aliyundoc.com/robot/)" "video"

Example description

Field Parameter
Time [9/Jun/2015:01:58:09 +0800]
Visitor IP Address 192.168.XX.XX
Proxy IP Address N/A
Response Time. Unit: millisecond 1542
referer N/A
method GET
Visitor URL http://www.aliyundoc.com/index.html
httpcode 200
Request Size. Unit: byte 191
Response Size. Unit: byte 2830
Cache Hit Status HIT or MISS
User-Agent Header Mozilla/5.0 (compatible; AhrefsBot/5.0; +example.aliyundoc.com/robot/)
File Type video
  1. Log on to the ApsaraVideo VOD console.
  2. In the left-side navigation pane, find Data Center.
  3. Click Logs to go to the Log page.
  4. Select the required domain, set the time period, and then click Search.
    Note You can download only the logs that are generated in the last 30 days.
    Domain and time period
  5. In the Actions column of the required log, click Download to download the log.