All Products
Search
Document Center

Dynamic Content Delivery Network:Create a custom operations report and a tracking task

Last Updated:Feb 04, 2024

Operations reports allow you to query offline analytics data of accelerated domain names in specific time periods. You can learn about the status of accelerated domain names and your business by analyzing the data.

Prerequisites

A domain name is added to Dynamic Content Delivery Network (DCDN). If no domain name is added to DCDN, add one by following instructions in Add a domain name.

Overview

An operations report consists of the following metrics: PV/UV, Regions and ISPs, Domain Names, Popular Referer Headers, Popular URLs, Popular Back-to-origin URLs, and Top Client IPs. You can create a custom operations report and a tracking task based on your business requirements. After you create a tracking task, DCDN sends operations reports to the email address that you specified. You can learn about the status of accelerated domain names by analyzing the content of operations reports.

Metric

Description

PV/UV

Allows you to query page views (PVs) and unique visitors (UVs) of accelerated domain names by time.

Regions and ISPs

Displays the distribution of visitors by region and Internet service provider (ISP). You can select regions in or outside the Chinese mainland and specify a time period for the query.

Domain Names

Displays the rank, traffic proportions, peak traffic or bandwidth values, peak time, and number of visits for each accelerated domain name.

Note

You can query the ranking of domain names by day. For example, after you specify a date, the system displays the top 200 frequently requested domain names on the specified day.

Popular Referer Headers

Displays the network traffic, traffic proportion, number of requests, and request proportion of frequently requested Referer headers.

Note

An operations report collects statistics on the http_referer field in request logs. The statistics vary with different cases.

  • If the value of the Referer header in the user request is a standard URL, the domain name in the value is recorded in the report. For example, the domain name example.com is recorded if the value of the Referer header is:

    • http://example.com/aliyundoc/

    • https://example.com/aliyundoc/image

  • If the value of the Referer header in the user request is not a standard URL, a hyphen (-) is recorded in the report.

Popular URLs

Displays the network traffic, traffic proportion, number of requests, and request proportion of frequently requested URLs based on the domain name, HTTP status code, or date that you specify.

Note

You can query frequently requested URLs by day. For example, if you select a date, the system displays the top 3,000 popular URLs on the specified day.

Popular Back-to-origin URLs

Displays the network traffic, traffic proportion, number of requests, and request proportion of frequently requested origin URLs based on the domain name, HTTP status code, or date that you specify.

Note

You can query frequently requested origin URLs by day. For example, after you select a date, the system displays the top 100 frequently requested origin URLs on the specified day.

Top Client IPs

Displays the top client IP addresses based on the domain name, region, or date that you specify. You can rank IP addresses by network traffic or the number of requests.

Note

You can query the top client IP addresses by day. After you specify a date, if you select all regions for the query, the system displays the top 200 client IP addresses in all regions on the specified day. If you specify a single region, the system displays only the top 20 client IP addresses in that region on the specified day.

Note

After you create a tracking task, DCDN regularly sends operations reports to the email address that you specified. The unit of the traffic that is displayed in operations reports is byte.

Create a custom operations report

Before statistical data can be collected, you need to create a custom operations report. Log data is generated throughout the course of a day. The generation of data may require some time to complete. In most cases, it takes about 6 to 12 hours to generate a custom operations report.

Note
  • After you specify the following metrics in a custom operations report, you can query relevant information in the DCDN console. Alternatively, you can create a tracking task. After you create a tracking task, the operations report is sent to the email address that you specified.

    • Popular URLs by Request or by Traffic

    • Popular Referer by Request or by Traffic

    • Popular Back-to-origin URLs by Request or by Traffic

    • Top Client IPs by Request or by Traffic

    • Popular Domain Names by Traffic

    • PV/UV

    • Visitor Distribution by Region

    • Distribution of ISPs

  • By default, other data of the operation reports is not displayed in the DCDN console. You can query relevant information by creating a tracking task. After you create a tracking task, operations reports are sent to the email address that you specified.

  1. Log on to the DCDN console.

  2. In the left-side navigation pane, click Operations Reports.

  3. On the Operations Reports tab, click Customize Operations Report.

  4. In the Customize Operations Report dialog box, configure the Domain Names and Report Content parameters. The following table describes the parameters.

    定制报表

    Parameter

    Description

    Domain Names

    Select one or more accelerated domain names for which you want to create a custom operations report.

    Report Content

    Select one or more metrics for the operations report.

  5. Click OK. The system prompts that The operations report is customized.

    Note

    If you delete a domain name or a metric from the report content of an operations report, the tracking task that corresponds to the operations report does not generate the required data. You need to update the tracking task by deleting the domain name or the metric from the report content of the tracking task. For more information, see Step 6.

  6. Optional. Modify the custom operations report.

    Repeat the preceding steps to add the report content or delete the existing report content.

Create a tracking task

Before you create a tracking task, make sure that you have created a custom operations report. Otherwise, you cannot create a tracking task. After you create a tracking task, the system sends operations reports to the email address that you specified. You can analyze the content of the operations reports.

Note
  • The operations report tracking feature is in trial run. Each Alibaba Cloud account, including Resource Access Management (RAM) users, can create a maximum of five tracking tasks.

  • Log data is generated throughout the course of a day. The generation of data may require some time to complete. The system sends an operations report only when all required data is retrieved.

  1. Log on to the DCDN console.

  2. In the left-side navigation pane, click Operations Reports.

  3. On the Operations Reports page, click the Tracking Tasks tab.

  4. Click Create Task and configure the parameters. The following table describes the parameters.

    订阅任务

    Parameter

    Description

    Task Name

    Enter a name for the tracking task.

    Report Type

    Select only one of the following options:

    • Daily Report: After the log data of the previous day is collected, the system sends the operations report to the email address that you specified.

    • Weekly Report: After the log data of the previous calendar week is collected, the system sends the operations report to the email address that you specified. In most cases, when you create a weekly report, the report is sent on Monday morning of the following week.

    • Monthly Report: After the log data of the previous calendar month is collected, the system sends the operations report to the email address that you specified.

    Email Address

    Enter one or more email addresses to receive the operations report. Separate multiple email addresses with commas (,).

    Domain Names

    Select one or more accelerated domain names whose operations reports to which you want to subscribe.

    Report Content

    Select the report metrics to which you want to subscribe.

  5. Click OK. The system prompts that The tracking task is created.

    Note
    • If you delete a metric from the report content of the custom operations report after you create a tracking task, only the ID of the deleted metric is displayed when you click Modify to view the tracking task. In this case, the operations report is not created and cannot be tracked. For information about the mapping between IDs and metrics of an operations report, see Mapping between IDs and metrics of an operations report.

    • The unit of traffic in an operations report is byte.

  6. Optional. Modify the tracking task.

    Select the tracking task that you want to modify and click Modify. Configure the parameters that are described in Step 4 and click OK.

Mapping between IDs and metrics of an operations report

The following table describes the mapping between IDs and metrics of an operations report.

Report ID

Name

Metric

Calculation method

2

TopUrlByAcc

Popular URLs by Request or by Traffic

Sorted by the number of URLs.

4

TopUrlByTraf

Sorted by network traffic. An increase in traffic increases the coefficient of the Transmission Control Protocol (TCP) packet header.

6

TopReferByAcc

Popular Referer by Request or by Traffic

Sorted by the number of visits.

8

TopReferByTraf

Sorted by network traffic. An increase in traffic increases the coefficient of the Transmission Control Protocol (TCP) packet header.

10

OriginTopUrlByAcc

Popular Back-to-origin URLs by Request or by Traffic

Sorted by the number of URLs.

12

OriginTopUrlByTraf

Sorted by network traffic. An increase in traffic increases the coefficient of the Transmission Control Protocol (TCP) packet header.

14

TopIpByAcc

Top Client IPs by Request or by Traffic

Sorted by the number of visits initiated from client IP addresses.

16

TopIpByTraf

Sorted by network traffic. An increase in traffic increases the coefficient of the Transmission Control Protocol (TCP) packet header.

18

DomainByTraf

Popular Domain Names by Traffic

Sorted by network traffic of domain names.

20

DomainPvUv

PV/UV

  • PV: sorted by daily requests.

  • UV: sorted by requests initiated from independent IP addresses. Each IP address is counted only once.

22

AreaTrafStat

Visitor Distribution by Region

Collects statistics about the distribution of requests to a specific domain name within a region.

24

IspTrafStat

Distribution of ISPs

Collects statistics about ISPs that the clients use.

Disable operations report

If you disable the operations report feature, all tracking tasks stop generating data, but the tracking tasks remain. If you no longer need a tracking task, you can delete it on the Tracking Tasks tab. For more information, see Delete a tracking task.

  1. Log on to the DCDN console.

  2. In the left-side navigation pane, click Operations Reports.

  3. On the Operations Reports tab, click Disable Operations Report.

  4. Click OK.

Delete a tracking task

  1. Log on to the DCDN console.

  2. In the left-side navigation pane, click Operations Reports.

  3. On the Tracking Tasks tab, select the tracking task that you want to delete and click Delete.

    删除

  4. Click OK.