Use file sink encoding json

Encoding ndjson isn't supported in recent versions.
This commit is contained in:
Gerd Flaig
2022-11-27 12:56:00 -05:00
committed by Yt
parent 7fbb7af4e6
commit adddfe7932
+1 -1
View File
@@ -21,7 +21,7 @@ with pkgs.lib;
type = "file";
inputs = [ "journald" ];
path = "/var/lib/vector/logs.log";
encoding = { codec = "ndjson"; };
encoding = { codec = "json"; };
};
};
};