You can use coding methods to integrate the capabilities of Simple Log Service into your business system to achieve automatic log management. This helps simplify operations and reduce management costs. This topic describes the integration methods that you can use to integrate the capabilities of Simple Log Service into your business system.
Integration methods
Simple Log Service provides multiple integration methods, such as API and SDK methods. You can select a method based on your business requirements. If an access error occurs, you can use responses that include the Code, Message, and RequestId parameters to identify and troubleshoot the error. For more information, see Error codes.
SDK
We recommend that you use Simple Log Service SDK. The SDK is available in multiple programming languages, such as Java, C#, Go, Python, Node.js, TypeScript, PHP, and C++. Simple Log Service SDK encapsulates various information, including the data signing logic, timeout mechanism, and retry mechanism. Simple Log Service SDK returns structured response objects based on specifications. This facilitates development and provides more comprehensive features. For more information about Simple Log Service SDK, see Overview of Simple Log Service SDK.
Simple Log Service is compatible with Alibaba Cloud SDKs. For more information, see Alibaba Cloud SDKs.
API
You can use Alibaba Cloud OpenAPI Explorer to collect, transform, query, analyze, visualize, consume, and ship data. You can also configure alerts for the data. If you are familiar with network service protocols and one or more programming languages, we recommend that you call API operations to manage your data resources. For more information about API operations, see API reference.
CLI
If you want to manage log data by using command lines, we recommend that you use Simple Log Service CLI. The CLI supports Windows, Linux, and macOS operating systems. For more information, see Overview of Simple Log Service CLI.
Terraform
Terraform is an open source automated resource orchestration tool that you can use to programmatically manage IT resources. Terraform provides an easy-to-use CLI that allows you to deploy configuration files on Alibaba Cloud or third-party clouds and manage the versions of the configuration files. For more information about Terraform, see Use Terraform.
Visualization development
Simple Log Service allows you to share query and analysis results and dashboards with other users or embed the results and dashboards in third-party systems, such as Java Database Connectivity (JDBC) and Grafana. For more information, see Visualization development.