Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Add missing review changes #4941

Merged
merged 1 commit into from
Aug 18, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 4 additions & 14 deletions filebeat/docs/reload-configuration.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -78,20 +78,17 @@ For module configurations, you specify reload options in the
------------------------------------------------------------------------------
filebeat.config.modules:
enabled: true
path: configs/*.yml
path: prospectors.d/*.yml <1>
reload.enabled: true
reload.period: 10s
------------------------------------------------------------------------------

TIP: If you are using the <<modules-command,`modules`>> command to enable and
disable configurations, you can enable config reloading for the `modules.d`
directory by specifying `path: ${path.config}/modules.d/*.yml`.
<1> If you change the path setting to look for config changes in a different
directory, you will not be able to use the <<modules-command,`modules`>> command
to enable and disable module configurations.

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

//REVIEWERS: I got an error when I tried to have an empty line before the -module: mysql entry below. Shouldn't whitespace be allowed there?

[source,yaml]
------------------------------------------------------------------------------
- module: apache2
Expand All @@ -101,11 +98,4 @@ definitions. For example:
error:
enabled: true
var.paths: [/var/log/apache2/error.log*]
- module: mysql
error:
enabled: true
var.paths: [/var/log/mysql/error.log*]
slowlog:
enabled: true
var.paths: [/var/log/mysql/mysql-slow.log*]
------------------------------------------------------------------------------