journal-forwarder

Crates.iojournal-forwarder
lib.rsjournal-forwarder
version1.127.0
sourcesrc
created_at2022-07-01 23:47:50.315618
updated_at2024-11-05 03:20:38.287829
descriptionUtility for forward systemd-journald logs to an HTTP endpoint.
homepagehttps://gitlab.com/kevincox/journal-forwarder
repositoryhttps://gitlab.com/kevincox/journal-forwarder
max_upload_size
id617550
size53,997
Kevin Cox (kevincox)

documentation

README

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.

Commit count: 159

cargo fmt