If failures or attacks occur when you use Dynamic Route for CDN (DCDN) to accelerate your domain names, you can troubleshoot issues based on log files. You can view operational logs for all the domain names that belong to the current account and download the logs to your on-premises storage. This topic describes the usage notes and the field formats of logs, and also how to view logs.
- Log update delay: Log data is generated within 24 hours after an event occurs. However, in some cases, the log data may be generated after 24 hours.
- By default, you can download logs that are generated for up to 30 days. If you want to store logs for a longer period, use Log Service and save logs to Object Storage Service (OSS) buckets under your account.
- Log naming rules: accelerated domain name_year_month_day_start time_end time. Example:
- Sample log entry
[9/Jun/2019:01:58:09 +0800] 192.168.15.75 - 1542 "-" "GET http://www.aliyun.com/index.html" 200 191 2830 MISS "Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)" "text/html"
The start time of the log entry.
The IP address of the client that initiated the request.
The proxy IP address of the client.
The response time of a request in milliseconds.
The referer header field in the HTTP request.
The request method.
The Uniform Resource Identifier (URI) of the request. No domain name information is included.
The HTTP status code.
The size of the request packet. Unit: bytes.
The size of the response packet. Unit: bytes.
The cache hit status.
Mozilla/5.0(compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/)
The information about the proxy of the client.
The type of the requested file.
- In the left-side navigation pane, choose .
- On the Offline Log Download tab, select a domain name and a date, and then click .
- Find the log file that you want to download and click Download in the Actions column.