#journal #systemd #forwarder #config

app journal-forwarder

Utility for forward systemd-journald logs to an HTTP endpoint

80 stable releases

1.157.0 Mar 19, 2025
1.147.0 Feb 21, 2025
1.137.0 Dec 27, 2024
1.133.0 Nov 29, 2024
0.0.0 Jul 1, 2022

#325 in Network programming

Download history 83/week @ 2024-12-11 135/week @ 2024-12-18 154/week @ 2024-12-25 175/week @ 2025-01-22 182/week @ 2025-01-29 135/week @ 2025-02-12 267/week @ 2025-02-19 96/week @ 2025-02-26 60/week @ 2025-03-05 423/week @ 2025-03-12 177/week @ 2025-03-19 1/week @ 2025-03-26

743 downloads per month

Apache-2.0 and LGPL-2.1+

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
~291K SLoC