journal-forwarder

Crates.iojournal-forwarder
lib.rsjournal-forwarder
version1.133.0
sourcesrc
created_at2022-07-01 23:47:50.315618
updated_at2024-11-29 03:22:07.944747
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
size51,356
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: 165

cargo fmt