The real-time log delivery feature of Dynamic Route for CDN (DCDN) allows you to collect DCDN real-time logs by using Log Service in near real time. After the logs are delivered to Log Service, you can query, ship, and transform the logs in real time in the Log Service console. You can also analyze log data, visualize analysis results, and configure alert rules for logs. This topic describes the assets, billing, and limits of the real-time log delivery feature in DCDN.
When you use DCDN, a large amount of network log data is generated. The real-time log delivery feature allows you to collect the logs that are generated by edge nodes in real time and deliver the logs to Log Service. Then, you can consume the logs in Log Service to monitor and identify business issues in an efficient manner.
- Dedicated projects and dedicated Logstores
After you enable the real-time log delivery feature of DCDN, Log Service automatically creates a project named dcdn-edge-rtlog-region-random ID and a Logstore named dcdn-edge-rtlog.Note To ensure that DCDN real-time logs can be delivered to Log Service, do not delete dedicated projects or Logstores.
- Dedicated dashboards
Note We recommend that you do not make changes to the dedicated dashboards because this may affect the usability of the dashboards. You can create a custom dashboard to visualize log analysis results. For more information, see Create a dashboard.
Dashboard Description DCDN Access Center Shows the real-time changes of DCDN business traffic. The information displayed on the dashboard includes the total number of page views (PVs), the total number of unique visitors (UVs), the percentage of error requests, top 10 URIs, top 10 IP addresses, the trend of error codes, and top 10 error domain names.
- You are charged when you use the real-time log delivery feature to collect logs. The charges are included into your DCDN bills. For more information, see Pricing of value-added service - Real-time log entries.
- After DCDN real-time logs are delivered to Log Service, you are charged based on the storage space, read traffic, the number of requests, data transformation, and data shipping. The charges are included into your Log Service bills. For more information, see Log Service pricing.
- You can create one or more delivery projects for a domain name. You cannot bind different delivery projects of a domain name to the same region, or to regions in and outside the Chinese mainland at the same time. Logs are collected from the regions to which the delivery project is bound. For example, if you create two delivery projects for the domain name example.com, you cannot bind these delivery projects to US and Mainland China, or to Mainland China. You can bind the delivery projects to US and India.
- Only one delivery project can be bound to a region that is supported by Log Service.
- High timeliness: After you enable the real-time log delivery feature, log data is automatically delivered to Log Service. You can view the real-time log analysis results for logs that are generated within the previous 3 minutes in the Log Service console.
- Multiple fields: Real-time logs contain multiple log fields. For more information, see Log fields.
- Business compliance: The collection and delivery processes of real-time logs are compliant.
- Powerful data analysis: Log Service can work together with DCDN. Visualized analysis
templates are generated for logs after the logs are delivered from DNCN to Log Service.
This helps you analyze and monitor your business changes in an efficient manner. Scenarios:
- Fine-grained analysis on URLs: You can analyze the trend in the number of requests from a URL, the profile of the requests from a specific location or source IP address, and the availability of a URL.
- Analysis on business reliability: You can analyze the error codes that are returned from requested URLs, error domain names, error URLs, and error IP addresses.
- Analysis on networks: You can analyze the response latency and cache hit ratio of networks.
- Profile analysis: You can analyze profiles based on geographic locations, terminals, and source IP addresses.