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.

Files for kinesisloghandler, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size kinesisloghandler-0.0.3-py3-none-any.whl (4.0 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page