All Products
Search
Document Center

Simple Log Service:Monitor Simple Log Service with CloudMonitor

Last Updated:Jun 02, 2026

CloudMonitor tracks Simple Log Service metrics such as write traffic, QPS, and service status. You can create alert rules to detect anomalies in log collection and shard usage.

Prerequisites

To let a RAM user view CloudMonitor metrics, grant the user read-only (AliyunCloudMonitorReadOnlyAccess) or read/write (AliyunCloudMonitorFullAccess) permissions. Create a RAM user and grant permissions.

View CloudMonitor metrics

  1. Log on to the Simple Log Service console.

  2. In the Projects section, click the one you want.

    image

  3. On the Log Storage > Logstores tab, find the Logstore and click Logstore management icon > Monitor.

    image

  4. View the monitoring metrics.

Metric descriptions

Cloud Monitor metrics

Description

Write Traffic

The size of data written to the Logstore per minute.

Size of Raw Data

The uncompressed size of data written to the Logstore per minute.

Overall QPS

The QPS for all operations.

Number of operations

The number of API operations per minute. API overview.

Service Status

HTTP status code counts for all operations.

Traffic resolved successfully

The size of raw log data successfully collected by Logtail.

Lines resolved successfully

The number of log lines successfully collected by Logtail.

Lines failed to be resolved

The number of lines that Logtail failed to collect. Non-zero values indicate errors.

Number of client errors

The number of Logtail collection errors.

Number of machines with client errors

The number of machines that reported Logtail collection errors.

Error IP statistics

The IP address count per log collection error type.

To troubleshoot, locate the error IP, log on to the machine, and check /usr/local/ilogtail/ilogtail.LOG.

Written lines

The number of rows written to the Logstore per minute.

Read Traffic

The size of data read from the Logstore per minute.

Consumption lag time

The delay between the latest written data and current consumption progress. In a consumer group, this is the maximum delay across all shards.

Set CloudMonitor alert rules

Configure alert rules for Simple Log Service in CloudMonitor. When a metric meets the specified conditions, CloudMonitor sends an alert notification by text message or email.

Set alert rules for cloud service resources. Cloud Monitor sends notifications when alert conditions are met.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Cloud Resource Monitoring > Cloud Service Monitoring.

  3. On the Cloud Service Monitoring page, select a cloud service and configure alert rules for Metric Monitoring or Quota Monitoring.

    • Metric Monitoring: Click a cloud service to open its resource list.

      1. Find the target resource and click Alert Rules in the Actions column.

      2. On the Alert Rules page, click Create Alert Rule.

      3. In the Create Alert Rule panel, configure the alert rule parameters.

      4. Click Confirm.

    • Quota Monitoring: Click a cloud service to open its resource list. Set alert rules for resources under General Quotas or API Rate Limits.

      1. Find the target resource and click Alert Rules in the Actions column, or click Global Alert Rule in the upper-right corner.

        Note

        Global Alert Rules: Alert rules that apply to all resource quotas of the target cloud service.

      2. Click Create Alert Rule and configure the alert rule parameters.

      3. Click OK.

    Note

    Alert rule parameters: Create an alert rule.

View CloudMonitor alert rules

View all alert rules configured for a cloud service on its monitoring page.

  1. Log on to the Cloud Monitor console.

  2. In the left-side navigation pane, choose Cloud Resource Monitoring > Cloud Service Monitoring.

  3. On the Cloud Service Monitoring page, click a cloud service to open its resource list. View alert rules for Metric Monitoring or Quota Monitoring.

  4. Find the target instance and click Alert Rules in the Actions column.