User Guide
Introduction
This is the open source version of Python SDK for AliCloud Log Service. It's a Python programming interfaces of Alicloud Log Service, providing encapsulations of Log Service Rest API. It helps Pythoner to connect to Alicloud Log Service more efficiently.
Refer to the doc: http://aliyun-log-python-sdk.readthedocs.io/.
Don't want to write code? Try the CLI which covers almost all features of this SDK.
Features
- Wrap all SLS Rest API (Management, data manipulation, consumer group etc)
- Consumer Group high level Class Support.
- Python Logging handler util
- High level operations: auto paging, auto retry till complete, copy project/logstore settings, arrange_shard, resource usage etc.
- Elasticsearch data migration
- ETL feature: copy data cross logstore, transform data cross logstore with powerful ETL config.
Supported Python:
- Python 2.6
- Python 2.7
- Python 3.3
- Python 3.4
- Python 3.5
- Python 3.6
- Python 3.7
- Pypy2
- Pypy3
Supported Log Service API
- Log Service API 0.6
Change Logs
Installation
pip install -U aliyun-log-python-sdk
Sample Code:
Complete API Reference
Other resources
- Alicloud Log Service homepage:https://www.alibabacloud.com/product/log-service
- Alicloud Log Service doc:https://www.alibabacloud.com/help/product/28958.htm
- for any issues, please submit support tickets