Python logging handler for sending logs to AWS Kinesis
Project description
Kinesis Log Handler
Python logging handler for sending logs to AWS Kinesis
Requirements
Python 3.5+
boto3
Installation
Install and update using pip
pip install -U kinesisloghandler
A Simple Example
import logging
from kinesis_log_handler.firehose import FirehoseHandler
logger = logging.getLogger('neil')
fh = FirehoseHandler(
delivery_stream_name='your_kinesis_stream_name',
region_name='ap-northeast-1')
logger.addHandler(fh)
logger.warning('Warning!')
TODO
Emit asynchronously
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for kinesisloghandler-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36be37100259eec3c13b5cde467e89fd00803ba1d544735d3418924b2e7360a3 |
|
MD5 | b9c0b4d8451223af707235307d5bbfc1 |
|
BLAKE2b-256 | 01222f4ae82daaf0b37f659fe1bd193e4b4d3d5d6b06cf1dc9085a5219f086f1 |