Simple Log Service (SLS) collects logs from Alibaba Cloud services, including computing, storage, security, database, and other categories. These logs record operations, service status, and business activity.
Overview
Automatic collection
When you enable log collection for a cloud service, SLS automatically:
-
Deploys a built-in agent (such as Logtail) on the target instance. No manual installation required.
-
Creates Logstores in SLS to store the logs.
-
Transmits log data to SLS in real time, organized by service type.
Stop billing
To stop billing, disable both data collection and storage:
-
Disable log collection
-
Turn off the SLS integration feature in the cloud service console.
-
After collection stops, no new logs are transmitted.
-
-
Clean up storage resources
-
In the Simple Log Service console, delete the Project and Logstore created for the cloud service.
-
Delete all linked instances to avoid ongoing storage fees.
-
Supported services
Computing
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
Elastic Compute Service (ECS) |
Custom |
- |
Uses a custom Project and Logstore. |
|
|
Distributed Cloud Container Platform for Kubernetes (ACK One) |
Enable control plane component logs and audit logs for ACK One master instances |
|
- |
Project name: k8s-log-Master instance ID (e.g., |
|
Enable/Disable GitOps control plane logs and audit logs for ACK One |
|
- |
Project name: k8s-log-Master instance ID (e.g., |
|
|
- |
Project name: k8s-log-Master instance ID (e.g., |
||
|
ACK Managed and Dedicated Clusters |
Enable/Disable control plane component logs for ACK managed and dedicated clusters |
|
Project name: k8s-log-Cluster ID (e.g., |
|
|
Project name: k8s-log-Cluster ID (e.g., |
|||
|
Enable/Disable container internal operation audit logs for ACK managed and dedicated clusters |
|
- |
Project name: k8s-log-Cluster ID (e.g., |
|
|
Enable Kubernetes event logs for ACK managed and dedicated clusters |
|
- |
Project name: k8s-log-Cluster ID (e.g., |
|
|
Enable Nginx Ingress access logs for ACK managed and dedicated clusters |
|
Project name: k8s-log-Cluster ID (e.g., |
||
|
ACK Serverless Clusters |
Enable/Disable control plane component logs for ACK Serverless |
|
- |
Project name: k8s-log-Cluster ID (e.g., |
|
ACK Edge Clusters |
|
- |
Project name: k8s-log-Cluster ID (e.g., |
|
|
WUYING Workspace |
|
- |
Project name: elastic-desktop-Custom (e.g., |
|
|
Function Compute 2.0 |
|
|
||
|
Function Compute 3.0 |
|
|
Storage
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
Object Storage Service (OSS) |
|
- |
The system creates a Project named |
|
|
File Storage NAS |
|
The system creates a Project named
|
||
|
Elastic Block Storage |
|
- |
The system creates a Project named |
Security
|
Cloud service |
Enable/Disable |
Default project and logstore |
Log fields |
Note |
|
Anti-DDoS Proxy |
|
The system creates a Project named |
||
|
Anti-DDoS Origin |
|
The system creates a Project named |
||
|
Security Center |
|
|
The system creates a Project named |
|
|
WAF 2.0 |
|
The system creates a Project named |
||
|
WAF 3.0 |
|
The system creates a Project named |
||
|
Cloud Firewall |
|
The system creates a project named |
||
|
ActionTrail |
|
Uses a custom Project and Logstore. When creating a trail, select a custom Project. The system creates a Logstore named |
||
|
Custom |
Select a custom Project and Logstore for storage. |
|||
|
Cloud Config |
Custom |
Select a custom Project and Logstore for storage. |
Networking
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
Classic Load Balancer (CLB) Layer 7 |
Custom |
Select a custom Project and Logstore for storage. |
||
|
Virtual Private Cloud (VPC) |
Custom |
Select a custom Project and Logstore for storage. |
||
|
Cloud Enterprise Network (CEN) |
Custom |
Select a custom Project and Logstore for storage. |
||
|
Smart Access Gateway (SAG) |
Custom |
Select a custom Project and Logstore for storage. |
||
|
Elastic IP Address (EIP) |
Enable/Disable high-precision monitoring that is accurate to seconds for EIP |
Custom |
- |
Select a custom Project and Logstore for storage. |
|
API Gateway |
|
The system creates a Project named |
||
|
Dynamic Content Delivery Network (DCDN) |
|
- |
The system creates a Project named |
|
|
Global Accelerator (GA) |
Custom |
Select a custom Project and Logstore for storage. |
Databases
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
ApsaraDB RDS |
Custom |
Select a custom Project and Logstore for storage. |
||
|
Tair (Redis OSS-compatible) |
|
- |
The system creates a Project named |
|
|
ApsaraDB for MongoDB |
|
- |
The system creates a Project named |
Analytics Computing
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
Data Management (DMS) |
Custom |
Select a custom Project and Logstore for storage. |
||
|
E-MapReduce (EMR) |
|
- |
Select a custom Project and Logstore for storage. |
Cloud Communication
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
Short Message Service (SMS) |
|
The system creates a Project named |
Internet of Things
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
IoT Platform |
|
The system creates a Project named |
Middleware
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
Microservices Engine (MSE) |
|
The system creates a Project named |
||
|
Enterprise Distributed Application Service (EDAS) |
Custom |
- |
Select a custom Project and Logstore for storage. |
|
|
Service Mesh (ASM) |
|
- |
The system creates a Project named |
Observability
|
Cloud service |
Enable/Disable |
Default Project and Logstore |
Log fields |
Note |
|
Managed Service for Prometheus |
|
The system creates a Project named workspace-default-cms-1290********9680-cn-hangzhou and a MetricStore named |