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 details)

Uploaded Python 3

File details

Details for the file kinesisloghandler-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: kinesisloghandler-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for kinesisloghandler-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 36be37100259eec3c13b5cde467e89fd00803ba1d544735d3418924b2e7360a3
MD5 b9c0b4d8451223af707235307d5bbfc1
BLAKE2b-256 01222f4ae82daaf0b37f659fe1bd193e4b4d3d5d6b06cf1dc9085a5219f086f1

See more details on using hashes here.

Supported by

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