From 2fbc48e1160012c44b95fe524cfc74c449d6e956 Mon Sep 17 00:00:00 2001 From: Astro Date: Wed, 6 Oct 2021 19:02:28 +0200 Subject: [PATCH] lib/lxc-container: add journalbeat inputs journalbeat didn't work at all without --- lib/lxc-container.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/lxc-container.nix b/lib/lxc-container.nix index a8e45d11..8a5b55f1 100644 --- a/lib/lxc-container.nix +++ b/lib/lxc-container.nix @@ -56,6 +56,11 @@ enable = true; tags = [ "container" ]; 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