Skip to content

Commit

Permalink
Add safeguard related statements for max_backoff setting (#7889)
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton authored and ruflin committed Aug 9, 2018
1 parent f9f0173 commit 3749b25
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions filebeat/docs/inputs/input-common-file-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,10 @@ specifying 10s for `max_backoff` means that, at the worst, a new line could be
added to the log file if {beatname_uc} has backed off multiple times. The
default is 10s.

Requirement: max_backoff should always be set to `max_backoff <=
scan_frequency`. In case `max_backoff` should be bigger, it is recommended to
close the file handler instead let the {beatname_uc} pick up the file again.
Requirement: Set `max_backoff` to be greater than or equal to `backoff` and
less than or equal to `scan_frequency` (`backoff <= max_backoff <= scan_frequency`).
If `max_backoff` needs to be higher, it is recommended to close the file handler
instead and let {beatname_uc} pick up the file again.

[float]
===== `backoff_factor`
Expand Down

0 comments on commit 3749b25

Please sign in to comment.