diff options
author | Martin Fischer <martin@push-f.com> | 2025-04-06 22:32:10 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-04-06 22:45:42 +0200 |
commit | 83c6f083436aae743ff011d97d64e45e5db88eb7 (patch) | |
tree | 2c24e59fd415bfb958b3b969d5351a3bd8f3f071 /nixos/hosts/tente/monitoring.nix | |
parent | 20ea2e52f3e453e71e049e9e7f2e6bd76e276135 (diff) |
fix(tente): systemd log field name must be uppercase
Diffstat (limited to 'nixos/hosts/tente/monitoring.nix')
-rw-r--r-- | nixos/hosts/tente/monitoring.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/hosts/tente/monitoring.nix b/nixos/hosts/tente/monitoring.nix index 668e1ef..eaddacb 100644 --- a/nixos/hosts/tente/monitoring.nix +++ b/nixos/hosts/tente/monitoring.nix @@ -180,8 +180,8 @@ in forward_to = [loki.write.default.receiver] stage.match { - // Select messages from systemd services that have LogExtraFields=log_format=logfmt. - selector = "{__journal_log_format=\"logfmt\"}" + // Select messages from systemd services that have LogExtraFields=LOG_FORMAT=logfmt. + selector = "{__journal_LOG_FORMAT=\"logfmt\"}" stage.logfmt { mapping = { time = "", level = "" } } |