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

app journal-forwarder

Utility for forward systemd-journald logs to an HTTP endpoint

76 stable releases

new 1.149.0 Mar 4, 2025
1.143.0 Jan 30, 2025
1.137.0 Dec 27, 2024
1.133.0 Nov 29, 2024
0.0.0 Jul 1, 2022

#208 in Network programming

Download history 113/week @ 2024-11-16 280/week @ 2024-11-23 44/week @ 2024-11-30 113/week @ 2024-12-07 2/week @ 2024-12-14 255/week @ 2024-12-21 34/week @ 2024-12-28 308/week @ 2025-01-25 49/week @ 2025-02-01 89/week @ 2025-02-08 251/week @ 2025-02-15 69/week @ 2025-02-22 127/week @ 2025-03-01

536 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–20MB
~294K SLoC