tencent cloud

Feedback

Bill and Usage Query

Last updated: 2022-11-03 11:05:59

    CLS supports self-service bill and usage query in the following steps:

    Viewing Bills

    Viewing log topic costs

    1. Log in to the Billing Center and enter the Bill Details page.
    2. In the All Products drop-down list, select CLS to view CLS bills.
    • By default, the bill data is arranged by cost in descending order, and you can visually view log topics that cost the most.
    • With the bill time range selector on the top, you can switch the statistics time of the bills.
    1. In the row where the log topic you need to view, click View Bill Details.

    2. The bill details page about the log topic is displayed.

    You can view the following information on the page:

    • Cost and proportion of each billable item in the bill of the log topic: When doing cost optimization, you can choose different policies based on the proportions of the traffic cost and storage cost. If the traffic cost occupies a large proportion, you can reduce the amount of logs printed on the log collection client or filter out useless logs through data processing. If the storage cost occupies a large proportion, in addition to the above two methods, you can shorten the log storage duration.
    • Monthly cost trend in the bill of the log topic: The information can be used for year-on-year analysis to determine whether there is an abnormal sudden increase in the cost.

    Classifying services by cost allocation tags

    When CLS is shared by different business departments, the CLS costs need to be allocated among the business departments. In this case, you can use the cost allocation tag feature to associate the log topic fees with the business departments.

    1. Create a tag. For details, see Creating Tags.
    • Tag Key: for example, "service"
    • Tag Value: for example, "service A" and "service B"
    1. Bind a log topic.

      1. Log in to the CLS console, and enter the Log Topic page.

      2. Select a log topic, and then click Edit Tag.

      3. In the pop-up window, select the "service" tag you created, and click OK.

    2. Log in to the Billing Center, and enter the Cost Allocation Tags page.

    3. Select the "service" tag you created, and click Set as Cost Allocation Tag.

    4. View bill statistics of different businesses by the ''service'' cost allocation tag.

      1. Log in to the Billing Center, and enter the Bill Details page.
      2. Select Cloud Log Service (CLS) from the All products drop-down list, and select the value of the "service" tag from the All Tags drop-down list.

    Setting an alert for CLS costs

    Note:

    • Cost data has a delay of 2 days. It can be used for cost analysis and budget planning, but not for settlement or reconciliation.
    • The cost analysis feature is currently in beta test.
    1. Log in to the Billing Center, and enter the Cost Analysis page.

    2. Click Set Alert.

    3. Click New.

    4. In the pop-up window, select Cloud Log Service for Product in the Scope area, and configure other parameters as needed.

    Two alert types are supported: daily data alert and monthly data alert.

    • Daily data alert has three modes: day-over-day, month-over-month, and fixed value (compare your daily cost against a fixed value).
      Daily data alert formulas:
      • MoM = ABS ((Daily cost this month − Cost on the same day last month) / Cost on the same day last month × 100%)
      • DoD = ABS ((Daily cost on a day − Cost on the previous day) / Cost on the previous day × 100%)
      • Fixed value = Compare cost in the current month against a fixed value
    • Monthly data alert has two modes: month-over-month and fixed value (compare your monthly cost against a fixed value).
      Monthly data alert formulas:
      • MoM = ABS ((Cost this month - Cost last month) / Cost last month × 100%)
        For example, on August 18, cost in the current month is your total cost between August 1 and August 16, which is compared against your cost between July 1 and July 16.
      • Fixed value = Compare cost in the current month against a fixed value
    • You can configure alert notifications by product and billing mode.
      Product: All purchased products of the current user are displayed. The logic of the billing mode is similar.
    1. Click Save.

    Querying Usage

    Viewing the usage of a single log topic

    1. Log in to the CLS console, and enter the Log Topic page.
    2. In the log topic list, click img to view the usage of a log topic.

    Viewing the usage of multiple log topics

    1. Log in to the Cloud Monitor console, and enter the Log service monitor page.

    2. Select a region on the top, abd view the log topic usage in the region. (All the traffic data in the list is the traffic accumulated on the day.)

    3. In the log topic list, click img to view the usage of the log topics.

    Customizing Analysis of Log Topic Usage

    1. Log in to the Cloud Monitor console, and enter the Dashboard List page.

    2. Click Create Dashboard to create a dashboard for analyzing log topic usage.

    3. After completing the configuration, click Save in the top-right corner to save the dashboard.
      For more instructions about the dashboard feature, see Dashboard in the operation guide of Cloud Monitor.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support