Skip to content

Commit

Permalink
Change "filebeat.config.modules.enabled" to "true" (#28769) (#29111)
Browse files Browse the repository at this point in the history
* 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.

* Fix build error

Co-authored-by: dedemorton <dede.morton@elastic.co>
(cherry picked from commit 3e84736)

Co-authored-by: Xiaohui Wen <35361142+hubbleview@users.noreply.github.com>
  • Loading branch information
mergify[bot] and hubbleview authored Nov 24, 2021
1 parent e98b492 commit b240b76
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion filebeat/_meta/config/filebeat.global.reference.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1026,7 +1026,7 @@ filebeat.inputs:
#reload.enabled: true
#reload.period: 10s
#modules:
#enabled: false
#enabled: true
#path: modules.d/*.yml
#reload.enabled: true
#reload.period: 10s
Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/filebeat.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3179,7 +3179,7 @@ filebeat.inputs:
#reload.enabled: true
#reload.period: 10s
#modules:
#enabled: false
#enabled: true
#path: modules.d/*.yml
#reload.enabled: true
#reload.period: 10s
Expand Down

0 comments on commit b240b76

Please sign in to comment.