From b5fba6cf35c5f289fa95f25cca4cfcb4d1f884cb Mon Sep 17 00:00:00 2001 From: Rishat Azizov Date: Wed, 27 Nov 2024 12:13:16 +0500 Subject: [PATCH] add variable filebeat_auth_enabled for possibility to disable sending auth logs Change-Id: I2cc2f2c4bdebbdec1fab835e9c0df1f165b5fc9d --- elk_metrics_7x/roles/elastic_filebeat/templates/filebeat.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elk_metrics_7x/roles/elastic_filebeat/templates/filebeat.yml.j2 b/elk_metrics_7x/roles/elastic_filebeat/templates/filebeat.yml.j2 index 97503b51..7753d6ac 100644 --- a/elk_metrics_7x/roles/elastic_filebeat/templates/filebeat.yml.j2 +++ b/elk_metrics_7x/roles/elastic_filebeat/templates/filebeat.yml.j2 @@ -28,7 +28,7 @@ filebeat.modules: # Authorization logs auth: - enabled: true + enabled: {{ filebeat_auth_enabled | default(true) | lower }} # Set custom paths for the log files. If left empty, # Filebeat will choose the paths depending on your OS.