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 |
|
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 |
|
Yes |
|
|
Yes |
|
|
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 |
|
|
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 |
|
Yes |
Supported resource types: SLS. |
|
|
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.
For more information about Simple Log Service SDK, see SDK reference overview.
For more information about Simple Log Service CLI, see CLI overview.
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.