All Products
Search
Document Center

Simple Log Service:Integration methods

Last Updated:Jun 03, 2026

Integrate with SLS through Alibaba Cloud SDKs, SLS-native multi-language SDKs, and the SLS CLI for resource management and log collection.

OpenAPI integration

Simple Log Service provides control-plane OpenAPI operations to manage projects, Logstores, and machine groups. Integrate these operations into your business systems through SDKs or custom API requests.

For more information about how to call Alibaba Cloud API operations, see Use OpenAPI.

OpenAPI versions

Version number

Description

2020-12-30

Recommended. API overview.

Endpoints

Select an endpoint based on the region of your Simple Log Service project to minimize latency.

For example, the Simple Log Service endpoint for the China (Zhangjiakou) region is cn-zhangjiakou.log.aliyuncs.com. For more information, see Endpoints.

User identities

User identity

Support

Alibaba Cloud account

Yes

RAM user

Yes

RAM role

Yes

To call API operations as a Resource Access Management (RAM) user or RAM role, assign the required permissions first.

Calling methods

Calling method

Support

Description

Alibaba Cloud SDKs (recommended)

Yes

Alibaba Cloud SDKs.

Alibaba Cloud CLI

No

Alibaba Cloud CLI is not supported. SLS provides its own CLI. CLI overview.

Custom encapsulation

Yes

Create your own requests. Custom HTTP encapsulation.

Error handling

If an API call returns an error, check request parameters and their values against the returned error code. Error codes.

Record the RequestID or SDK error message, then use the Alibaba Cloud OpenAPI Diagnostic Platform for self-service diagnostics.

Orchestration tools

SLS integrates with the following orchestration tools.

Orchestration tool

Support

Description

Resource Orchestration Service

Yes

Supported resource types: SLS.

Terraform

Yes

SLS SDK and CLI

Beyond Alibaba Cloud SDKs, SLS provides its own multi-language SDKs and a CLI for log collection, querying, and analysis.

Visualization

Simple Log Service allows you to call API operations in a visualized manner. For example, you can call API operations on web pages or by using DataV. For more information, see Visualization development.