Skip to main content

Very easy to use Logstash logging handler

Project description

logstash-easy

https://img.shields.io/pypi/v/logstash-easy.svg https://img.shields.io/pypi/pyversions/logstash-easy.svg https://img.shields.io/badge/license-MIT-blue.svg

Very easy to use Logstash logging handler.

Installation

Install via pip:

pip install logstash-easy

Usage

Just write one line of code and enjoy:

import logstash_easy

By default logging messages will be sent to localhost:5000 but you can set environment variables LOGSTASH_HOST, LOGSTASH_PORT and LOGSTASH_TAG for tagging your application. If you define LOGSTASH_APP_NAME variable then app_name field will be added to all logging messages (it can be used for creating Elasticsearch indices per application).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for logstash-easy, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size logstash-easy-1.0.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

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