From dbd6858cdbb7bf916df57b04b2de4b403fd7e9bd Mon Sep 17 00:00:00 2001 From: Xiaohui Wen <35361142+hubbleview@users.noreply.github.com> Date: Tue, 2 Nov 2021 10:53:46 -0700 Subject: [PATCH 1/2] Change filebeat.config.modules.enabled to true As per https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration-reloading.html#load-module-config, the default value of filebeat.config.modules.enabled is `true`. Having it as `false` in filebeat.reference.yml would bring in confusion. --- filebeat/filebeat.reference.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebeat/filebeat.reference.yml b/filebeat/filebeat.reference.yml index 055de812f9c..44f5b608f93 100644 --- a/filebeat/filebeat.reference.yml +++ b/filebeat/filebeat.reference.yml @@ -1024,7 +1024,7 @@ filebeat.inputs: #reload.enabled: true #reload.period: 10s #modules: - #enabled: false + #enabled: true #path: modules.d/*.yml #reload.enabled: true #reload.period: 10s From 9eb4b6f3da12ac5950eb0a25a24ad1b53d9d5a63 Mon Sep 17 00:00:00 2001 From: dedemorton Date: Tue, 23 Nov 2021 10:38:19 -0800 Subject: [PATCH 2/2] Fix build error --- filebeat/_meta/config/filebeat.global.reference.yml.tmpl | 2 +- x-pack/filebeat/filebeat.reference.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/filebeat/_meta/config/filebeat.global.reference.yml.tmpl b/filebeat/_meta/config/filebeat.global.reference.yml.tmpl index dccfc790a7c..5686fe14f22 100644 --- a/filebeat/_meta/config/filebeat.global.reference.yml.tmpl +++ b/filebeat/_meta/config/filebeat.global.reference.yml.tmpl @@ -40,7 +40,7 @@ #reload.enabled: true #reload.period: 10s #modules: - #enabled: false + #enabled: true #path: modules.d/*.yml #reload.enabled: true #reload.period: 10s diff --git a/x-pack/filebeat/filebeat.reference.yml b/x-pack/filebeat/filebeat.reference.yml index c10eee26c5e..873dbfd6f35 100644 --- a/x-pack/filebeat/filebeat.reference.yml +++ b/x-pack/filebeat/filebeat.reference.yml @@ -3177,7 +3177,7 @@ filebeat.inputs: #reload.enabled: true #reload.period: 10s #modules: - #enabled: false + #enabled: true #path: modules.d/*.yml #reload.enabled: true #reload.period: 10s