Remove duplicated logging

This commit is contained in:
Sandro - 2022-06-13 20:17:55 +02:00
parent 849980e057
commit fee8c5c7d5
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
2 changed files with 0 additions and 26 deletions

View File

@ -23,7 +23,6 @@ let
'';
in {
# add central logging
services.journalbeat = {
enable = false;

View File

@ -47,31 +47,6 @@
};
services = {
journalbeat = {
enable = false;
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
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.c3d2.hosts.logging.ip4}:5044"]
'';
};
# Required for remote deployment
openssh.enable = true;
resolved.enable = false;