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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for proigia_logstash_formatter-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8108b53d2c4750c5dd0b442c212797f99566c4d5615b4b1c78b94a8f72c66a81 |
|
MD5 | 5a2883b32561bfdfd3150b1eeb1f277f |
|
BLAKE2b-256 | a9241e409432b1c45f90034337a195341bb809002162c67228c8f86bc166d03d |