All Products
Search
Document Center

ApsaraVideo Live:Log management

Last Updated:Sep 09, 2024

The log management feature allows you to download logs. This topic describes how to download logs.

Log generation rules

  • Logs are updated within 24 hours after events occur. However, during peak hours, logs may be delayed for more than 24 hours.

  • You can download only the logs that are generated in the last 30 days.

  • Log packages are named in the format of Domain name_Year_Month_Day_StartTime_EndTime. 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"

The following table describes the fields in a log file.

Example value

Field description

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

The time.

188.165.XX.XX

The access IP address.

N/A

The proxy IP address.

1542

The response time. Unit: milliseconds.

Note

If you enable periodic logging for a domain name, this field indicates the time interval at which logs are generated, but not the response time of the persistent connection.

N/A

The Referer header.

GET

The request method.

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

The access URL.

200

The HTTP status code.

191

The request size. Unit: bytes.

2830

The response size. Unit: bytes.

MISS

The cache hit status. Valid values:

  • HIT: indicates a cache hit.

  • MISS: indicates a cache miss.

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

The User-Agent header.

live

The file type.

Log download

  1. Log on to the ApsaraVideo Live console.
  2. In the left-side navigation pane, choose Data Center > Monitoring > Log Management. The Log Management page appears.

  3. Select the domain name and date that you want to query.

  4. Click Search to query the logs of the domain name on the specified date.

  5. Click Download in the Actions column to download the logs of the domain name on the specified date.