You can download a CDN access log for the last 30 days, which contains the details of every request made to VOD. Logs are recorded hourly.
- If a domain receives no requests in a day, no logs will be generated, and no data will be displayed.
- By default, CDN access is logged on an hourly basis. That means 24 log files will be generated at most for a day. No log file will be generated for an hour during which there are no requests.
- CDN logs may have a delay of about 30 minutes.
Decompress the package downloaded and open the log files with Notepad. Different fields are separated by space. Below is part of a log file.
|2||IP address of the client accessing the domain|
|3||Accessed domain name|
|4||File request path|
|5||Number of bytes of this access request|
|6||Province. For more information, see province mapping below.|
|7||ISP. For more information, see ISP mapping below.|
|8||HTTP status code|
|10||Response time in milliseconds|
|16||The port via which connection is established between the client and CDN node. If there isn’t such a port, the value of this field is -.|
Bandwidth or traffic consumption in logs is based on data returned at the application layer (HTTP protocol) and may be lower than that calculated at the TCP layer due to factors including TCP packet loss, three-way handshake, and retransmission.