An open API service indexing awesome lists of open source software.

https://github.com/magenta-aps/structlog-gelf

structlog-aware logging handlers for Graylog
https://github.com/magenta-aps/structlog-gelf

graylog python structlog

Last synced: 4 days ago
JSON representation

structlog-aware logging handlers for Graylog

Awesome Lists containing this project

README

        

structlog-gelf
==============

This package adds a single module containing four classes:

* ``GELFFormatter`` allows formatting both ``structlog`` and regular
``logging`` messages as `GELF
`_.
* ``GraylogSocketHandler``; send a GELF-formatted message to Graylog
using TCP.
* ``GraylogDatagramHandler``; send a GELF-formatted message to Graylog
using UDP, with support for both both chunking and compression.
* ``GraylogAMQPHandler``; send a GELF-formatted message to Graylog
using AMQP using `Pika `_.