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
- Host: GitHub
- URL: https://github.com/magenta-aps/structlog-gelf
- Owner: magenta-aps
- License: mpl-2.0
- Created: 2019-06-12T09:41:36.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-12T09:48:16.000Z (almost 6 years ago)
- Last Synced: 2025-05-16T02:12:02.591Z (4 days ago)
- Topics: graylog, python, structlog
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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 `_.