All Products
Search
Document Center

Simple Log Service:Monitor Simple Log Service with CloudLens for SLS

Last Updated:Jun 03, 2026

Use CloudLens for SLS to monitor and manage SLS assets such as projects and Logstores, improving management efficiency and resource consumption visibility.

Background information

After you enable CloudLens for SLS, SLS collects global logs (audit logs, error logs, and metrics) and operational logs (important logs from the original instance logs and job operational logs) by default. All of these logs are free of charge.

  • If this is the first time you enable CloudLens for SLS, Global Logs are stored in a project named log-service-{Alibaba Cloud primary account ID}-{region}, where region is the Global Log Storage Region that you select when you enable CloudLens for SLS. Operation Logs are stored in a project named log-service-{Alibaba Cloud primary account ID}-{region}, where region is the region of the project. For a list of supported region values, see Usage notes.

    Important

    If you delete the project that stores operational logs, SLS automatically creates a new one.

  • If you have already enabled CloudLens for SLS, your existing region and project settings are used.

The following example demonstrates CloudLens for SLS in a project-quota-exceeded scenario. Usage notes for CloudLens for SLS.

1. Enable CloudLens for SLS

  1. Log on to the Log Service console.
  2. In the Log Application section, click the Cloud Service Lens tab, and then click CloudLens for SLS.

  3. On the Data Import Management page, click the SLS Collection Policies tab and follow the on-screen instructions to enable the feature. During this process, the system automatically grants the AliyunServiceRoleForSLSAudit service-linked role to CloudLens for SLS, allowing it to collect global logs and operational logs. For more information, see Manage the AliyunServiceRoleForSLSAudit service-linked role.

2. View monitoring results

After you enable log collection, SLS automatically generates dashboards from the collected logs.

2.1 View project quotas

  1. In the left-side navigation pane, click Asset Overview.

  2. On the Project Asset Overview tab, click Details in the Quota column for the target project. Adjust resource quotas.

2.2 View project quota usage

In the left-side navigation pane, choose Report Center > Quota Monitoring. A project's quota covers logstores, dashboards, shards, alerts, machine groups, and Logtail configurations.

Quota monitoring