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

app journal-forwarder

Utility for forward systemd-journald logs to an HTTP endpoint

70 stable releases

1.137.0 Dec 27, 2024
1.133.0 Nov 29, 2024
1.103.0 Jul 29, 2024
1.81.0 Mar 27, 2024
0.0.0 Jul 1, 2022

#215 in Network programming

Download history 364/week @ 2024-09-15 403/week @ 2024-09-22 230/week @ 2024-09-29 11/week @ 2024-10-06 307/week @ 2024-10-13 238/week @ 2024-10-20 119/week @ 2024-10-27 144/week @ 2024-11-03 10/week @ 2024-11-10 235/week @ 2024-11-17 183/week @ 2024-11-24 20/week @ 2024-12-01 113/week @ 2024-12-08 1/week @ 2024-12-15 280/week @ 2024-12-22 9/week @ 2024-12-29

404 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

~7–19MB
~290K SLoC