72 stable releases
new 1.141.0 | Jan 27, 2025 |
---|---|
1.137.0 | Dec 27, 2024 |
1.133.0 | Nov 29, 2024 |
1.103.0 | Jul 29, 2024 |
0.0.0 | Jul 1, 2022 |
#251 in Network programming
289 downloads per month
16KB
201 lines
journal-forwarder
A simple script to forward journald logs over HTTP somewhat reliabily.
Configuration
All the configuration is passed in as environment variables the only required value is JF_URL
which is the url to send the logs to. If you prefer you can set JF_URL_SRC
instead to read the URL out of a file.
All the other configuraion options are at the top of the source file.
Requirements
On nixos the following packages are required:
- coreutils
- curl
- gnused
- jq
- systemd
- utillinux (butilt with systemd support)
Questions
Open an issue so that I can answer and add docs.
Dependencies
~6–19MB
~281K SLoC