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 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page