#journal #forwarder #systemd #utility #logging #logs

app journal-forwarder

Utility for forward systemd-journald logs to an HTTP endpoint

28 stable releases

1.53.0 Jul 26, 2023
1.51.0 Mar 10, 2023
1.45.0 Feb 15, 2023
1.35.0 Dec 19, 2022
0.0.0 Jul 1, 2022

#109 in Unix APIs

Download history 1/week @ 2023-06-17 28/week @ 2023-06-24 27/week @ 2023-07-01 22/week @ 2023-07-22 6/week @ 2023-07-29 8/week @ 2023-08-05 30/week @ 2023-08-19 29/week @ 2023-08-26 29/week @ 2023-09-02 32/week @ 2023-09-09 3/week @ 2023-09-16

93 downloads per month

Apache-2.0 and LGPL-2.1+

13KB
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

~4–20MB
~286K SLoC