From adddfe7932c5f54ae860595461fa379073a8e773 Mon Sep 17 00:00:00 2001 From: Gerd Flaig Date: Sun, 27 Nov 2022 17:57:24 +0100 Subject: [PATCH] Use file sink encoding `json` Encoding ndjson isn't supported in recent versions. --- nixos/tests/vector.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/tests/vector.nix b/nixos/tests/vector.nix index ecf94e33ff17..9309f6a14dd7 100644 --- a/nixos/tests/vector.nix +++ b/nixos/tests/vector.nix @@ -21,7 +21,7 @@ with pkgs.lib; type = "file"; inputs = [ "journald" ]; path = "/var/lib/vector/logs.log"; - encoding = { codec = "ndjson"; }; + encoding = { codec = "json"; }; }; }; };