fix beats logging and storage-ng

This commit is contained in:
Daniel Poelzleithner 2019-11-05 18:44:39 +01:00
parent a1db032dda
commit 5063287196
2 changed files with 9 additions and 3 deletions

View File

@ -13,17 +13,17 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/dcaea9ca-4aeb-441f-a0d6-7f31c8f16a2a";
{ device = "/dev/vda1";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/5C15-758A";
{ device = "/dev/vda3";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/68aade1c-47b6-403e-8f2f-21909d55044a"; }
[ { device = "/dev/vda2"; }
];
nix.maxJobs = lib.mkDefault 4;

View File

@ -29,6 +29,12 @@ in
services.journalbeat = {
enable = true;
extraConfig = ''
journalbeat.inputs:
# Paths that should be crawled and fetched. Possible values files and directories.
# When setting a directory, all journals under it are merged.
# When empty starts to read from local journal.
- paths: []
journalbeat:
seek_position: cursor
cursor_seek_fallback: tail