Skip to content

Commit

Permalink
Merge pull request elastic#6697 from andrewkroh/backport_6567_6.2
Browse files Browse the repository at this point in the history
Cherry-pick elastic#6567 to 6.2: Fix config reload example
  • Loading branch information
jsoriano authored Mar 29, 2018
2 parents 528b3cf + 5080862 commit 65d6aaf
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 65d6aaf

Please sign in to comment.