All Products
Search
Document Center

Simple Log Service:Usage notes

Last Updated:Apr 02, 2024

The real-time log delivery feature of Dynamic Route for CDN (DCDN) allows you to collect DCDN real-time logs by using Simple Log Service in near real time. After the logs are delivered to Simple Log Service, you can query, ship, and transform the logs in real time in the Simple 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.

Background information

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 Simple Log Service. Then, you can consume the logs in Simple Log Service to monitor and identify business issues in an efficient manner.

Real-time logs

Assets

  • Dedicated project and Logstore

    After you enable the real-time log delivery feature, Simple Log Service creates a project named dcdn-edge-rtlog-region-random ID and a Logstore named dcdn-edge-rtlog by default.

    Important
    • Do not delete the project or Logstore that is related to DCDN real-time logs. Otherwise, DCDN real-time logs cannot be sent to Simple Log Service.

    • If you have enabled the pay-by-ingested-data billing mode, Simple Log Service creates a dedicated Logstore that uses the pay-by-ingested-data billing mode by default. If you want to switch the billing mode from pay-by-ingested-data to pay-by-feature, you can modify the configuration of the Logstore. For more information, see Modify the configurations of a Logstore.

  • 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.

Billing

  • 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.

  • If the dedicated Logstore uses the pay-by-feature billing mode, you are charged for storage, read traffic, number of requests, data transformation, and data shipping after the logs are collected from DCDN to Simple Log Service. The fees are included in the bills of Simple Log Service. For more information, see Billable items of pay-by-feature.

  • If the dedicated Logstore uses the pay-by-ingested-data billing mode, you are charged only for read traffic over the Internet after the logs are collected from DCDN to Simple Log Service. The fees are included in the bills of Simple Log Service. For more information, see Billable items of pay-by-ingested-data.

Limits

  • 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 Singapore.

  • Only one delivery project can be bound to a region that is supported by Simple Log Service.

Benefits

  • High timeliness: After you enable the real-time log delivery feature, log data is automatically delivered to Simple Log Service. You can view the real-time log analysis results for logs that are generated within the previous 3 minutes in the Simple 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 capabilities: Simple Log Service can work together with DCDN. Visualized analysis templates are generated for logs after the logs are delivered from DNCN to Simple Log Service. This helps you analyze and monitor your workloads. 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.