The Simple Log Service Python SDK provides programmatic access to most Simple Log Service API operations.
Version history
All releases are listed on the Aliyun Log Python Release page.
Sample code
The Python SDK includes the following code samples:
|
GitHub source code |
Description |
|
Write and query logs, query Logstores, get log distribution, and manage machine groups. |
|
|
Write logs, query logs by shard, and manage shards. |
|
|
Write logs, query logs by shard, manage shards, associate an external data source, and query logs. |
|
|
Consume logs with a consumer group. |
|
|
Basic alert operations. |
|
|
Synchronize data to Splunk with a consumer group. |
|
|
Synchronize data to a syslog server with a consumer group. |
|
|
Create migration configurations and migrate data. |
|
|
Create, modify, and delete data transformation tasks. |
|
|
Ship logs to OSS and MaxCompute. |