Skip to content

Update default value for flush.timeout and flush.min_events#7192

Merged
urso merged 3 commits intomasterfrom
libbeat-flushtimeout-doc
Jun 5, 2018
Merged

Update default value for flush.timeout and flush.min_events#7192
urso merged 3 commits intomasterfrom
libbeat-flushtimeout-doc

Conversation

@ismael-hasan
Copy link
Copy Markdown
Contributor

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!

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!
@ismael-hasan ismael-hasan changed the title Update default value for flush.timeout Update default value for flush.timeout in the docs May 29, 2018
@ruflin ruflin requested a review from urso May 29, 2018 11:07
@dedemorton dedemorton mentioned this pull request May 29, 2018
37 tasks
will be immediately available for consumption.

The default values is 0s.
The default values is 1s.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flush.min_events should default to 2048 as well.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

roger that @urso , changed that as well and corrected a typo (and the title of the issue)

ismael-hasan added 2 commits May 30, 2018 08:07
flush.min_events setting the default to 2048
The default `values` is 1s. -> The default `value` is 1s.
@ismael-hasan ismael-hasan changed the title Update default value for flush.timeout in the docs Update default value for flush.timeout and flush.min_events May 30, 2018
@dedemorton dedemorton added the needs_backport PR is waiting to be backported to other branches. label May 31, 2018
Copy link
Copy Markdown
Contributor

@dedemorton dedemorton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@urso urso merged commit dca6ad8 into master Jun 5, 2018
urso pushed a commit to urso/beats that referenced this pull request Jun 5, 2018
…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.

(cherry picked from commit dca6ad8)
@urso urso added v6.3.0 and removed needs_backport PR is waiting to be backported to other branches. labels Jun 5, 2018
@urso
Copy link
Copy Markdown

urso commented Jun 5, 2018

Thank you for the doc fix! I did prepare the backport for 6.3.

ph pushed a commit that referenced this pull request Jun 5, 2018
* 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.

(cherry picked from commit dca6ad8)
@mikemadden42 mikemadden42 deleted the libbeat-flushtimeout-doc branch February 20, 2020 13:21
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…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.

(cherry picked from commit c617edb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants