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
- Host: GitHub
- URL: https://github.com/nlm/loghub
- Owner: nlm
- Created: 2017-05-31T13:34:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T14:40:07.000Z (about 9 years ago)
- Last Synced: 2025-01-21T21:47:33.666Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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