From bd9d7cc752e03a0a8e4cca44d406f28274bd9ba7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 24 Oct 2023 16:13:01 +0200 Subject: [PATCH] all: prevent SPAM Nimbus logs from reaching Logstash MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Depends on: https://github.com/status-im/infra-role-bootstrap-linux/commit/20609731 https://github.com/status-im/infra-role-bootstrap-linux/commit/98816e2a Signed-off-by: Jakub SokoĊ‚owski --- ansible/group_vars/all.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ansible/group_vars/all.yml b/ansible/group_vars/all.yml index 65fb577..9df67d6 100644 --- a/ansible/group_vars/all.yml +++ b/ansible/group_vars/all.yml @@ -29,6 +29,10 @@ bootstrap__active_extra_users: bootstrap__rsyslog_docker_logs_path: '/docker/log' # Print just the message, lower size of log files and make parsing easier bootstrap__rsyslog_docker_format: !unsafe '%msg:2:2048%\n' +# Some logs are just SPAMmed too much. +bootstrap__rsyslog_filter_rules: + - 'Attestation resolved' + - 'Attestation received' # lower local retention to save space bootstrap__logrotate_frequency: 'hourly' bootstrap__logrotate_count: 48