Use file sink encoding json

Encoding ndjson isn't supported in recent versions.
This commit is contained in:
Gerd Flaig 2022-11-27 17:57:24 +01:00 committed by Yt
parent 7fbb7af4e6
commit adddfe7932

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"; };
};
};
};