All Products
Search
Document Center

Simple Log Service:Use the self-service analysis feature to analyze Alibaba Cloud bills

Last Updated:Jun 26, 2024

Simple Log Service integrates with Billing Management to provide the self-service analysis feature. After you enable the self-service analysis feature, bills are automatically imported and can be analyzed in a visualized manner. This improves the efficiency of bill analysis.

Prerequisites

  • Simple Log Service is activated.

  • The whitelist feature of Billing Management is enabled. To enable the feature, submit a ticket.

Background information

Alibaba Cloud provides highly elastic resources and various specifications. You can use the resources based on your business requirements. However, you need to take note of the costs of the resources that you use. Alibaba Cloud supports the pay-as-you-go and subscription billing methods. Manual bill analysis can be time consuming and inaccurate. To resolve the issues caused by manual bill analysis and improve bill analysis efficiency, Alibaba Cloud provides the self-service analysis feature.

Capabilities

After you enable the self-service analysis feature, Alibaba Cloud automatically imports your bills to Logstores. Bills are time series data. You can seamlessly integrate Simple Log Service with your billing system to collect, store, and analyze your bills. This helps reduce the required manpower in bill analysis by 80%. The self-service analysis feature provides the following capabilities:

  • Near-real-time bill collection: After bills are generated, they are uploaded to Simple Log Service Logstores within 1 hour.

  • Custom dashboards: Various capabilities are provided to meet the requirements in common analysis scenarios and reports can be automatically sent.

  • Interactive analysis: Bills are analyzed by using SQL statements. Analysis results are available within seconds. You can save analysis results to custom reports.

  • Visualization: Analysis results are displayed in charts to help you understand the results easier.

Custom analysis

On the Custom Analysis tab, you can query and analyze the imported bills in the same manner that you query and analyze data in other Logstores. For more information, see Use SQL statements to analyze bills.

  1. Log on to User Center.

  2. In the left-side navigation pane, choose Cost Management > Custom analysis.

  3. On the Custom Analysis tab, query and analyze the imported bills.

    You can query and analyze the imported bills in the same manner that you query and analyze data in other Logstores. For more information, see Query and analyze logs.

OSS bill analysis

The Object Storage Service (OSS) bill analysis feature allows you to view the overall costs and cost trends of OSS. This feature also allows you to view fees for different storage classes and the usage and fees for each billable item. You can change the storage class that you use based on your business requirements to reduce costs.

  1. Log on to User Center.

  2. In the left-side navigation pane, choose Cost Management > Custom analysis.

  3. On the OSS Bill Analysis tab, view the detailed analysis of OSS bills.

Simple Log Service bill analysis

The Simple Log Service bill analysis feature allows you to view the overall costs and cost trends of Simple Log Service. This feature also allows you to view the usage of each billable item and the project and Logstore that have the largest storage space and index traffic. You can use this feature to optimize the costs of Simple Log Service.

  1. Log on to User Center.

  2. In the left-side navigation pane, choose Cost Management > Custom analysis.

  3. On the SLS Bill Analysis tab, view the detailed analysis of Simple Log Service bills.

Custom reports

You can select different types of charts based on your business requirements and save the charts to dashboards. The dashboards are updated in real time.

  1. Log on to User Center.

  2. In the left-side navigation pane, choose Cost Management > Custom analysis.

  3. On the User-defined Report tab, choose image > Add Custom Report.

  4. In the Add Custom Report panel, specify the project and dashboard names.

    After you create a dashboard, you can add chart elements, adjust chart layouts, modify charts, and import charts. For more information, see Manage a dashboard in edit mode.