Skip to content

Commit

Permalink
Fix config reload example (elastic#6567)
Browse files Browse the repository at this point in the history
Remove `auditbeat.modules:` from config reload example file. And change Glob to glob.

(cherry picked from commit e13beae)
  • Loading branch information
andrewkroh committed Mar 29, 2018
1 parent a5e0b52 commit 5080862
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions auditbeat/docs/reload-configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ beta[]

You can configure {beatname_uc} to dynamically reload configuration files when
there are changes. To do this, you specify a path
(https://golang.org/pkg/path/filepath/#Glob[Glob]) to watch for module
configuration changes. When the files found by the Glob change, new modules are
(https://golang.org/pkg/path/filepath/#Glob[glob]) to watch for module
configuration changes. When the files found by the glob change, new modules are
started/stopped according to changes in the configuration files.

To enable dynamic config reloading, you specify the `path` and `reload` options
Expand All @@ -20,7 +20,7 @@ auditbeat.config.modules:
reload.period: 10s
------------------------------------------------------------------------------

*`path`*:: A Glob that defines the files to check for changes.
*`path`*:: A glob that defines the files to check for changes.

*`reload.enabled`*:: When set to `true`, enables dynamic config reload.

Expand All @@ -29,13 +29,11 @@ set the `period` to less than 1s because the modification time of files is often
stored in seconds. Setting the `period` to less than 1s will result in
unnecessary overhead.

Each file found by the Glob must contain a list of one or more module
Each file found by the glob must contain a list of one or more module
definitions. For example:

[source,yaml]
------------------------------------------------------------------------------
auditbeat.modules:
- module: file_integrity
paths:
- /www/wordpress
Expand Down

0 comments on commit 5080862

Please sign in to comment.