The log management feature allows you to download logs. This topic describes how to download logs.
Log download
Log generation rules
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_Year_Month_Day_StartTime_EndTime. Example: rtmp://example.com/appname/stream_2021_01_06_000000_010000.gz.
Method
You can download logs on the Log Management page of the ApsaraVideo Live console. For more information, see Log management.
Fields in a downloaded log
Field
Example value
Time
[9/Jun/2015:01:58:09 +0800]
Access IP address
192.168.0.1
Proxy IP address
N/A
Response time (unit: milliseconds)
1542
Referer
N/A
Method
GET
Access URL
https://www.aliyun.com/appname/streamname.flv?auth_key=*******
HTTP status code
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