Download logs

更新时间:
复制 MD 格式

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://www.aliyun.com/index.html

HTTP status code

200

request size (bytes)

191

response size (bytes)

2830

cache hit status

HIT, MISS

User-Agent header

Mozilla/5.0 (compatible; AhrefsBot/5.0; +example.aliyundoc.com/robot/)

File type

video

server IP address

1.1.1.1

Procedure

  1. Log on to the ApsaraVideo VOD console.

  2. In the navigation pane on the left, choose Data Center.

  3. Click Manage Logs.

  4. Select the domain name and time range that you want to query, and then click Search.

    Note

    You can download logs from the last 30 days.

    域名及时间

  5. In the Actions column, click Download.

    下载