#logging #journald #http #endpoint #forward #send #url

app journal-forwarder

Utility for forward systemd-journald logs to an HTTP endpoint

67 stable releases

new 1.131.0 Nov 23, 2024
1.125.0 Oct 29, 2024
1.103.0 Jul 29, 2024
1.81.0 Mar 27, 2024
0.0.0 Jul 1, 2022

#208 in Network programming

Download history 140/week @ 2024-08-02 117/week @ 2024-08-09 183/week @ 2024-08-16 1/week @ 2024-08-23 55/week @ 2024-09-13 688/week @ 2024-09-20 230/week @ 2024-09-27 33/week @ 2024-10-04 5/week @ 2024-10-11 534/week @ 2024-10-18 117/week @ 2024-10-25 141/week @ 2024-11-01 23/week @ 2024-11-08 102/week @ 2024-11-15

390 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–18MB
~272K SLoC