Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

JSON formatter meant for logstash

Project description

logstash formatter

This is a ‘reimplementation’ of the logstash handler to format messages to a logstash json format. The original version (on which we are based) can be found at; https://github.com/exoscale/python-logstash-formatter

Usage

To use this module, clone it via:

git clone https://github.com/Proigia/proigia-logstash-formatter.git
cd proigia-logstash-formatter

and then

pip install -e .

In e.g. a pyramids configuration file the handler can be connected via the following entry:

[formatter_logstash]
class = proigia_logstash_formatter.ProigiaLogstashFormatter

and connect it via all ‘relevant’ other logging settings, as documented by pyramids; http://docs.pylonsproject.org/docs/pyramid/en/latest/narr/logging.html

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Files for proigia_logstash_formatter, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size proigia_logstash_formatter-1.0.tar.gz (2.5 kB) File type Source Python version None 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