Log management

Updated at:
Copy as MD

ApsaraVideo Live provides log management for you to download logs.

Log generation rules

  • Log file delay: Logs are typically generated within 24 hours. During peak hours, this delay may exceed 24 hours.

  • You can download log data from the last 30 days.

  • Naming convention: Accelerated-Domain-Name_Year_Month_Day_StartTime_EndTime.gz. 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.X

The following table describes the log entry fields.

Example value

Description

[9/Jun/2015:01:58:09 +0800]

Time

188.165.XX.XX

Client IP address

N/A

Proxy IP address

1542

Response time (in ms)

Note

For live streaming requests with periodic logging enabled, this field indicates the time interval between the current and previous log records, not the actual response time of a persistent connection.

N/A

Referer

GET

Method

http://www.aliyundoc.com/index.html

Request URL

200

HTTP status code

191

Request size (in bytes)

2830

Response size (in bytes)

MISS

Cache hit status

  • HIT: indicates a cache hit.

  • MISS: indicates a cache miss.

Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://example.com/robot/)

User-Agent header

live

File type

1.1.X.X

Connection IP address

Log download

  1. Log on to the ApsaraVideo Live console.
  2. In the left navigation bar, select Live Center > Monitoring > Log Management to go to the Log Management page.

  3. Select the domain name and the time range for your query.

  4. Click Search to view the logs for the selected domain name and time range.

  5. In the Actions column, click Download to save the log file for that time period.