Simple Log Service SDK for Python encapsulates most API operations of Simple Log Service. You can use Simple Log Service SDK for Python to call most API operations of Simple Log Service.
Versions
For more information, see Alibaba Cloud Simple Log Service SDK for Python Releases.
Sample code
Simple Log Service SDK for Python provides a variety of sample code that you can use or reference. The following table describes the sample code that is provided by Simple Log Service SDK for Python.
GitHub source code | Description |
Includes sample code that shows how to write logs, query Logstores, obtain the distribution of logs, and manage machine groups. | |
Includes sample code that shows how to write logs, query logs by shard, and manage shards. | |
Includes sample code that shows how to write logs, query logs by shard, manage shards, create an external data source, and query logs. | |
Includes sample code that shows how to use a consumer group to consume logs. | |
Includes sample code that shows how to manage alerts. | |
Includes sample code that shows how to use a consumer group to synchronize data to Splunk. | |
Includes sample code that shows how to use a consumer group to synchronize data to a syslog server. | |
Includes sample code that shows how to create a migration configuration file and migrate data. | |
Includes sample code that shows how to create, modify, and delete a data transformation task. | |
Includes sample code that shows how to ship logs to Object Storage Service (OSS) and MaxCompute. |