Skip to main content

Python logging handler for sending logs to AWS Kinesis

Project description

Kinesis Log Handler

Build Status codecov

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


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

kinesisloghandler-0.0.3-py3-none-any.whl (4.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page