nixos-module/defaults: remove journalbeat

the service caused excessive disk write traffic, and the target greylog
server is overloaded anyway.
This commit is contained in:
Astro 2022-01-11 22:16:53 +01:00
parent 0a8a85a6d8
commit 343fe8c429
1 changed files with 0 additions and 27 deletions

View File

@ -19,33 +19,6 @@
Storage=volatile Storage=volatile
''; '';
# central logging
services.journalbeat = {
enable = true;
tags = [ "zentralwerk" ];
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
write_cursor_state: true
cursor_flush_period: 5s
clean_field_names: true
convert_to_numbers: false
move_metadata_to_field: journal
default_type: journal
kernel: true
output.logstash:
# Boolean flag to enable or disable the output module.
enabled: true
hosts: ["${config.site.net.serv.hosts4.logging}:5044"]
'';
};
nix = { nix = {
package = pkgs.nixFlakes; package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes"; extraOptions = "experimental-features = nix-command flakes";