Stop billing

Updated at:
Copy as MD

To stop billing for Simple Log Service, delete all your projects. Billing then stops automatically.

How billing stops

Delete a project or Logstore

Warning

Deleting a project or Logstore permanently removes all its log data and configurations, which cannot be recovered.

Cloud service logs

When you enable log analysis for Alibaba Cloud services (Elastic Compute, Storage, Security, Database, etc.), a project and Logstore are automatically created. Overview of cloud service logs.

To stop collecting cloud service logs:

  1. Disable log analysis in the cloud service console.

  2. Delete the project or Logstore in the Simple Log Service console:

Log Audit Service logs

  • To stop collection while retaining existing logs: Stop log collection. Logs are deleted when the retention period expires.

  • To delete all Log Audit Service resources (projects, Logstores, dashboards, alerts): Delete audit resources.

CloudLens logs

Notes

Warning

The CloudLens feature requires at least one project to exist under your Alibaba Cloud account.

When you enable and use the CloudLens feature, Simple Log Service checks whether a project exists under your account based on the following logic.

Detection logic
  1. When you enable the CloudLens feature for the first time, Simple Log Service checks whether a project exists under your Alibaba Cloud account. If no project exists, a project named aliyun-product-data-Alibaba Cloud account ID-cn-heyuan is created in the China (Heyuan) region.

  2. After you enable the CloudLens feature and navigate to the CloudLens page, Simple Log Service checks only whether a project exists under your Alibaba Cloud account. It does not automatically create a project in the China (Heyuan) region. You can manually create a project. For more information about how to create a project, see Manage projects.

Delete a project
  • To delete the aliyun-product-data-Alibaba Cloud account ID-cn-heyuan project, open Cloud Shell and run the following command. Replace Alibaba Cloud account ID with your actual account ID.

    aliyunlog log delete_project --project_name=aliyun-product-data-Alibaba Cloud account ID-cn-heyuan --region-endpoint=cn-heyuan.log.aliyuncs.com
  • For more information about how to delete other projects and Logstores, see Manage Logstores and Manage projects.

Other logs

Related documents