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.

Background information

Usage notes of 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: www.test.com_2019_12_02_010000_020000.gz.
Field formats of logs
  • Sample log entry
    [9/Jun/2019:01:58:09 +0800] - 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"
  • Fields
    Field Description
    [9/Jun/2019:01:58:09 +0800] The start time of the log entry. The IP address of the client that initiated the request.
    - The proxy IP address of the client.
    1542 The response time of a request in milliseconds.
    "-" The referer header field in the HTTP request.
    GET The request method.
    http://www.aliyun.com/index.html The Uniform Resource Identifier (URI) of the request. No domain name information is included.
    200 The HTTP status code.
    191 The size of the request packet. Unit: bytes.
    2830 The size of the response packet. Unit: bytes.
    MISS The cache hit status.
    Mozilla/5.0(compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/) The information about the proxy of the client.
    text/html The type of the requested file.


  1. In the left-side navigation pane, choose Offline Log.
  2. On the Offline Log Download tab, select a domain name and a date, and then click .
  3. Find the log file that you want to download and click Download in the Actions column.