1 { system ? builtins.currentSystem, config ? { }
2 , pkgs ? import ../.. { inherit system config; } }:
4 with import ../lib/testing-python.nix { inherit system pkgs; };
10 meta.maintainers = [ pkgs.lib.maintainers.happysalada ];
12 nodes.machine = { config, pkgs, ... }: {
15 journaldAccess = true;
17 sources.journald.type = "journald";
22 inputs = [ "journald" ];
23 path = "/var/lib/vector/logs.log";
24 encoding = { codec = "ndjson"; };
31 # ensure vector is forwarding the messages appropriately
33 machine.wait_for_unit("vector.service")
34 machine.succeed("test -f /var/lib/vector/logs.log")