lib/lxc-container: add journalbeat inputs

journalbeat didn't work at all without
This commit is contained in:
Astro 2021-10-06 19:02:28 +02:00
parent 8b15c0c066
commit 2fbc48e116
1 changed files with 5 additions and 0 deletions

View File

@ -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