After the domain name is added to Content Delivery Network (CDN), the CDN node will schedule and respond to all user resource requests. To help you statistically analyze resource access, CDN connects to the Cloud Log Service (CLS) platform, and supports uploading CDN access logs to CLS in real time for multi-dimensional analysis, including quality and performance monitoring, user access analysis using Top command, and download traffic statistics.
Note:
CDN Real-time Log Analysis is currently in beta. To use it, you can submit an application. You application will be reviewed within seven business days.
Log Field | Raw Log Type | CLS Type | Description |
---|---|---|---|
app_id | Integer | long | APPID of your Tencent Cloud account |
client_ip | String | text | Client IP |
file_size | Integer | long | File size |
hit | String | text | Cache HIT/MISS. A hit in a CDN edge server or parent node will be marked as HIT |
host | String | text | Domain name |
http_code | Integer | long | HTTP status code |
isp | String | text | ISP |
method | String | text | HTTP request method |
param | String | text | URL parameters |
proto | String | text | HTTP protocol identifier |
prov | String | text | ISP districts |
referer | String | text | Referer information, i.e., HTTP source address |
request_range | String | text | Range parameter, i.e., request range |
request_time | Integer | long | Response time (in milliseconds), which refers to the time it takes for a node to return all packets to the client after receiving a request |
rsp_size | Integer | long | Number of bytes returned |
time | Integer | long | Request time, which is a UNIX timestamp |
ua | String | text | User-Agent information |
url | String | text | Request path |
uuid | String | text | Unique request identifier |
version | Integer | long | Version protocol |
http_code<500 | select count(*)
select ROUND(avg(request_time),2)
select http_code,count(*) as c group by http_code order by c desc
http_code:403
Was this page helpful?