Skip to content

aliyun/aliyun-log-python-sdk

Repository files navigation

User Guide

Documentation Status Pypi Version Travis CI Development Status Python version License

中文版README

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

  1. Wrap all SLS Rest API (Management, data manipulation, consumer group etc)
  2. Consumer Group high level Class Support.
  3. Python Logging handler util
  4. High level operations: auto paging, auto retry till complete, copy project/logstore settings, arrange_shard, resource usage etc.
  5. Elasticsearch data migration
  6. ETL feature: copy data cross logstore, transform data cross logstore with powerful ETL config.

Supported Python:

  1. Python 2 with version >= 2.7
  2. Python 3 with version >= 3.7

Supported Log Service API

  1. Log Service API 0.6

Change Logs

Change Logs

Installation

pip install -U aliyun-log-python-sdk

Sample Code:

Complete API Reference

Other resources

  1. Alicloud Log Service homepage:https://www.alibabacloud.com/product/log-service
  2. Alicloud Log Service doc:https://www.alibabacloud.com/help/product/28958.htm
  3. for any issues, please submit support tickets