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

Project details


Download files

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

Source Distribution

logstash-easy-1.0.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file logstash-easy-1.0.tar.gz.

File metadata

  • Download URL: logstash-easy-1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for logstash-easy-1.0.tar.gz
Algorithm Hash digest
SHA256 21b9253009ec529548aab517ca48d3427806712f718460a5931a95e5ed76bac7
MD5 44f0af037830e83676a49560caee3965
BLAKE2b-256 9d6ee2fbfd65ee2581b30d7e3d8dafdfe5ad76026b68f2f906a0aed011918b2b

See more details on using hashes here.

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