From dca6ad89b44243d28d2aa5d778e31aabd8bc1d7c Mon Sep 17 00:00:00 2001 From: ismael-hasan Date: Tue, 5 Jun 2018 13:15:27 +0200 Subject: [PATCH] Update default value for flush.timeout and flush.min_events (#7192) * Update default value for flush.timeout Checking the code, it seems the default `flush.timeout` is `1s` - https://github.com/elastic/beats/blob/v6.2.4/libbeat/publisher/queue/memqueue/config.go#L14-L18 - instead of `0s` . Change needs some dev review to confirm! * Updated default value for flush.min_events flush.min_events setting the default to 2048 * Corrected typo The default `values` is 1s. -> The default `value` is 1s. --- libbeat/docs/queueconfig.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libbeat/docs/queueconfig.asciidoc b/libbeat/docs/queueconfig.asciidoc index df567114bc1e..421af57aab61 100644 --- a/libbeat/docs/queueconfig.asciidoc +++ b/libbeat/docs/queueconfig.asciidoc @@ -67,7 +67,7 @@ Minimum number of events required for publishing. If this value is set to 0, the output can start publishing events without additional waiting times. Otherwise the output has to wait for more events to become available. -The default value is 0. +The default value is 2048. [float] ===== `flush.timeout` @@ -75,7 +75,7 @@ The default value is 0. Maximum wait time for `flush.min_events` to be fulfilled. If set to 0s, events will be immediately available for consumption. -The default values is 0s. +The default value is 1s. [float] [[configuration-internal-queue-spool]]