Skip to content

Alibaba Cloud Simple Log Service provides the real-time log delivery feature together with Alibaba Cloud CDN. This feature delivers the logs generated when Alibaba Cloud CDN accesses resources such as images, text, and videos to Simple Log Service in real time. Simple Log Service analyzes and mines the log data of Alibaba Cloud CDN to provide you with operational reports such as access dashboards and user behavior analysis. This helps you improve data decision-making capabilities and promotes your business development.

Enable the real-time log delivery feature

Enable the real-time log delivery feature

  • Custom Simple Log Service Project、Logstore

    Do not delete the Simple Log Service project and Logstore that are created for the access logs of Alibaba Cloud CDN. Otherwise, the access logs cannot be delivered to Simple Log Service.

  • Create a dedicated dashboard. By default, four dashboards are generated after you enable the feature.

For more information, see Real-time log delivery After you enable the real-time log delivery feature, you can choose Logs & Reports > Logs > Real-time Logs in the left-side navigation pane of the Alibaba Cloud CDN console to view the information about real-time log delivery, as shown in the following figure.

Visualized analysis

Visualized analysis

Visualized analysis try Demo

Visualized analysis

This dashboard displays statistics on the health status, cache hit ratio, download speed, and latency distribution. This information helps you understand the access performance, overall service quality, and client access efficiency of Alibaba Cloud CDN. You can also handle unexpected exceptions in a timely manner based on the data. try Demo

Error analysis

Error analysis try Demo

User analysis

User analysis try Demo

CDN Log fields

fieldDescription
client_ipThe IP address of the client.
content_typeData type
domainregion
hit_infoThe cache hit information. Valid values: HIT and MISS.
methodThe cache hit information. Valid values: HIT and MISS.
refer_domainThe cache hit information. Valid values: HIT and MISS.
refer_paramThe cache hit information. Valid values: HIT and MISS.
refer_uriThe cache hit information. Valid values: HIT and MISS.
remote_ipThe cache hit information. Valid values: HIT and MISS.
remote_portThe port of the client that establishes a connection with the CDN node.
request_sizeThe size of the request. Unit: bytes.
request_timeThe response latency. Unit: milliseconds.
response_sizeThe response latency. Unit: milliseconds.
return_codeThe HTTP status code.
schemeThe request protocol. Example:
uriThe requested resource.
uri_paramThe request parameters.
user_agentThe request parameters.
uuidThe unique ID of the request.
xforwordforThe unique ID of the request.