The log management feature allows you to download logs. This topic describes how to download logs.
- Generation rules of logs
- You can download only the logs that are generated in the last 30 days. Logs are generated on an hourly basis.
- Typically, logs are generated at a delay of 4 hours. If a large amount of data is accumulated, the delay may exceed 24 hours.
- Log packages are named in the format of Domain name for CDN_Year_Month_Day_StartTime_EndTime, such as www.example.com_2021_01_06_000000_010000.gz.
- The following table describes the fields in a downloaded log.
Field Sample value Time [9/Jun/2015:01:58:09 +0800] Visitor IP Address 188.8.131.52 Proxy IP Address N/A Response Time (Unit: milliseconds) 1542 referer N/A method GET Visitor URL http://www.aliyun.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; +http://ahrefs.com/robot/) File Type text or html