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

https://github.com/nlm/loghub

Minimal Syslog forwarding hub
https://github.com/nlm/loghub

Last synced: over 1 year ago
JSON representation

Minimal Syslog forwarding hub

Awesome Lists containing this project

README

          

loghub
======

Syslog Forwarding Hub

Handles RFC5424 and RFC3164 messages

*Warning*: Probably not production-ready yet. Use at your own risk.

Sources
-------

- udp/ip
- tcp/ip

Destinations
------------

- udp/ip
- tcp/ip
- systemd-journald

Install
-------

This script only uses Python3 stdlib (except for systemd-related functions),
so it can be run as-is

If you need systemd-journal support:

apt-get install libsystemd-dev
pip install git+https://github.com/systemd/python-systemd
pip install git+https://github.com/easypost/syslog-rfc5424-parser
pip install syslogmp

PyInstaller Build
-----------------

If you want to build a standalone binary with with pyinstaller:

pip install pyinstaller
pyinstaller -F loghub.py