The Log Management service provides features for downloading logs. This topic describes how to download logs.
Log generation rules
Logs are typically updated within 24 hours after an event occurs. However, during peak hours, log updates may be delayed for more than 24 hours.
You can only download logs that were generated in the last 30 days.
Log files are named in the following format: Accelerated domain name_Year_Month_Day_Start time_End time. For example,
www.example.com_2018_10_30_000000_010000.gz.
[9/Jun/2015:01:58:09 +0800] 188.165.XX.XX - 1542 "-" "GET http://www.aliyundoc.com/index.html" 200 191 2830 MISS "Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://example.com/robot/)" "live" 1.1.X.XDescription of the example
Example parameter | Field description |
[9/Jun/2015:01:58:09 +0800] | Time |
188.165.XX.XX | Access IP address |
N/A | Proxy IP address |
1542 | Response time (ms) Note If you enable periodic logging for live streaming requests, this field indicates the time interval between log records, not the actual response time of the persistent connection. |
N/A | Referer |
GET | Method |
| Access URL |
200 | HTTP status code |
191 | Request size (bytes) |
2830 | Response size (bytes) |
MISS | Cache hit status
|
| User-Agent header |
live | File type |
1.1.X.X | The IP address used to establish a connection. |
Download logs
- Log on to the ApsaraVideo Live console.
In the navigation pane on the left, choose to go to the Log Management page.
Select the domain name and time range to query.
Click Search to retrieve the logs for the specified domain name and time range.
In the Actions column, click Download to download the logs for the domain name in the specified time period.