- What's New
- Service Overview
-
Billing
- Billing Items
- Basic Service Billing
- Value-added Service Billing
- Billing Modes
- Changing the Billing Option
- Bills
- Arrears
- Billing Termination
-
Billing FAQs
-
Common Cases
- What Do I Need to Pay?
- Do I Need to Buy the CDN Service Before Using Live?
- How Do I Change the Billing Option?
- Do I Need to Delete Resources If I Don't Want to Use Live Any More?
- How Do I View the Usage and Expenditure of Pay-per-Use Live Resources?
- Is Downstream Traffic or Upstream Traffic Billed?
- Will I Be Billed for URL Validation?
- How Is Transcoding Billed?
- Does the Daily Peak Bandwidth Mean the Upstream Bandwidth or Downstream Bandwidth?
- Why Is a Recording Fee Deducted on the First Day of Each Month?
- Arrears
-
Common Cases
- Cloud Live
-
Media Live
- Overview
- Scenarios
- Functions
- Product Advantages
- Constraints
- Getting Started
-
Console Operations
- Prerequisites
- Functions
- Permissions Management
- Domain Name Management
- Channels
- Live Transcoding
- Service Monitoring
- Cloud Resource Authorization
- Tools
- Best Practices
-
Cloud Live API Reference
- Before You Start
- API Overview
- Calling APIs
- Examples
-
Domain Name Management
- Creating a Domain Name
- Deleting a Domain Name
- Modifying a Domain Name
- Querying a Domain Name
- Mapping Domain Names
- Deleting a Domain Name Mapping
- Configuring the Domain Name IPv6 Function
- Querying IP Address Information
- Modifying the Streaming Domain Name Delay
- Querying the Streaming Domain Name Delay
- Modifying the HLS Configuration of a Domain Name
- Querying HLS Configurations of Domain Names
- Modifying Origin Pull Settings
- Querying Origin Pull Settings
- Notification Management
-
Authentication Management
- Configuring a Referer Validation ACL
- Deleting a Referer Validation ACL
- Querying Referer Validation ACLs
- Querying IP Address ACLs
- Modifying an IP Address ACL
- Generating a Signed URL
- Querying Supported Areas of a Streaming Domain Name
- Modifying Supported Areas of a Streaming Domain Name
- Querying the URL Validation Configuration of a Specified Domain Name
- Modifying the URL Validation Configuration of a Specified Domain Name
- Deleting the URL Validation Configuration of a Specified Domain Name
- Snapshot Management
- Recording Management
- Recording Callback Management
- HTTPS Certificate Management
- OBS Bucket Management
- Transcoding Template Management
- Stream Management
-
Statistics Analysis
- Querying Peak Bandwidth
- Querying Total Traffic
- Querying HTTP Status Codes for Pulling Live Streams
- Querying the Duration of Transcoded Outputs
- Querying Recording Channels
- Querying the Number of Snapshots
- Querying Upstream Bandwidth
- Querying the Number of Stream Channels
- Querying the Historical Stream List
- Querying the Playback Profile
- Querying the Distribution of Live Streaming Metrics by Region
- Stream Analytics
- Appendix
- Change History
-
Media Live API Reference
- Before You Start
- API Overview
- Calling APIs
- Examples
-
OTT Channel Management
- Creating an OTT Channel
- Querying Channel Information
- Deleting Channel Information
- Modifying Channel Packaging Information
- Modifying Channel Input Stream Information
- Modifying Channel Recording Information
- Modifying General Channel Information
- Changing the Channel Status
- Modifying Channel Transcoding Template Information
- Appendix
- Change History
- Cloud Live Server SDK Reference
- Low Latency Live Client SDK Reference
- Troubleshooting
Offline Log Download
The offline log page displays detailed logs about the network users' access to all streaming domain names. You can download logs of a specific period to analyze the access to your service resources.
Log records are for data analysis and reference only. Service fees are charged based on bills.
Log Download
- You can download logs of the past 90 days.
- You can query and download logs in a time span of up to seven days. To query and download logs in a longer time span, perform the operations multiple times.
Log Description
Log package name format: Streaming domain name_Log generation time.log.gz
Log generation rule: By default, logs are collected at an interval of 5 minutes. If no request is sent to a domain name, no log data package is generated. Generally, the complete log file can be obtained four hours after the live stream push is completed.
Log format
- Cloud Stream Live
[time_local]|play_domain|client_ip|cdn_ip|url|http_code|cache_hit|scheme|method|period_bytes_sent|period_duration|ua|refer|app|stream
- LLL
[time_local]|play_domain|client_ip|cdn_ip|url|http_code|cache_hit|scheme|method|period_bytes_sent|period_duration|ua|refer|app|stream
NOTE:
If a field is not involved or is empty, the value of this field will be a hyphen (-). If the field information contains spaces, each space must be enclosed in double quotation marks ("").
Log example
- Cloud Stream Live
[06/Mar/2023:06:51:26 +0800]|pullexample.huaweicloud.com|49.1.1.*|42.11.1.2|http://pullexample.huaweicloud.com/live/stream-123.flv|200|HIT|HTTP|GET|1024|4|Lavf/58.12.100|-|live|stream-123
- LLL
[06/Mar/2023:06:51:26 +0800]|pullexample.huaweicloud.com|49.1.1.*|42.11.1.2|webrtc://pullexample.huaweicloud.com/live/stream-123.sdp|200|HIT|WebRTC|GET|1024|4|Lavf/58.12.100|-|live|stream-123
Table 1 describes the fields.
Field Name |
Field Description |
Example |
---|---|---|
time_local |
Local time in the common format, which is used to record the time when statistics are collected. |
[06/Mar/2023:06:51:26 +0800] |
play_domain |
Accelerated domain name added to CDN. |
pullexample.huaweicloud.com |
client_ip |
IP address of the client. |
49.1.1.* |
cdn_ip |
IP address of the CDN node accessed by the viewer. |
42.11.1.2 |
url |
Complete access URL. |
|
http_code |
HTTP status code. |
200 |
cache_hit |
Cache hit status.
|
HIT |
scheme |
Access protocol.
|
|
method |
HTTP method. |
GET |
period_bytes_sent |
Number of bytes sent in a statistical period. The statistical period is the value of period_duration. |
1024 |
period_duration |
Statistical period, in seconds. |
4 |
ua |
User agent information. |
Lavf/58.12.100 |
refer |
Referer information. |
- |
app |
App name |
live |
stream |
Stream name |
stream-123 |
Downloading Logs
- Log in to the Live console.
- In the navigation pane, choose Logs > Offline log download.
- On the displayed page, specify the domain name and time.
The system displays all logs generated in the specified time. A log file is generated every 5 minutes.
Figure 1 Downloading logs - Click Download in the Operation column in the row containing the log to be downloaded and download the log to your local PC.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.