Skip to content

Commit

Permalink
[Doc][Backport] Unit qualifier is required 6.8 (#11780)
Browse files Browse the repository at this point in the history
* Note that unit qualifier is required for config.reload.interval

* Update description in logstash.yml
  • Loading branch information
karenzone authored Apr 13, 2020
1 parent bf3282c commit aadf1ed
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions config/logstash.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@
# config.reload.automatic: false
#
# How often to check if the pipeline configuration has changed (in seconds)
# Note that the unit value (s) is required. Values without a qualifier (e.g. 60)
# are treated as nanoseconds.
# Setting the interval this way is not recommended and might change in later versions.
#
# config.reload.interval: 3s
#
Expand Down
1 change: 1 addition & 0 deletions docs/static/breaking-changes.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ These changes can impact any instance of Logstash and are plugin agnostic, but o

* The setting `config.reload.interval` has been changed to use time value strings such as `5m`, `10s` etc.
Previously, users had to convert this to a millisecond time value themselves.
Note that the unit qualifier (`s`) is required.

[float]
===== RPM/Deb package changes
Expand Down
4 changes: 3 additions & 1 deletion docs/static/reloading-config.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ in configuration settings from the command-line.

By default, Logstash checks for configuration changes every 3 seconds. To change this interval,
use the `--config.reload.interval <interval>` option, where `interval` specifies how often Logstash
checks the config files for changes.
checks the config files for changes (in seconds).

Note that the unit qualifier (`s`) is required.

If Logstash is already running without auto-reload enabled, you can force Logstash to
reload the config file and restart the pipeline by sending a SIGHUP (signal hangup) to the
Expand Down
1 change: 1 addition & 0 deletions docs/static/running-logstash-command-line.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ With this command, Logstash concatenates three config files, `/tmp/one`, `/tmp/t

*`--config.reload.interval RELOAD_INTERVAL`*::
How frequently to poll the configuration location for changes. The default value is "3s".
Note that the unit qualifier (`s`) is required.

*`--http.host HTTP_HOST`*::
Web API binding host. This option specifies the bind address for the metrics REST endpoint. The default is "127.0.0.1".
Expand Down
2 changes: 1 addition & 1 deletion docs/static/settings-file.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ The `logstash.yml` file includes the following settings. If you are using X-Pack
| `false`

| `config.reload.interval`
| How often in seconds Logstash checks the config files for changes.
| How often in seconds Logstash checks the config files for changes. Note that the unit qualifier (`s`) is required.
| `3s`

| `config.debug`
Expand Down

0 comments on commit aadf1ed

Please sign in to comment.