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

Add batch_read_size config to Winlogbeat #2641

Merged
merged 2 commits into from
Oct 3, 2016

Conversation

andrewkroh
Copy link
Member

This configuration option allows users to control the number of event log records that are read, processed, and published in its event loop.

andrewkroh added a commit to andrewkroh/beats that referenced this pull request Sep 26, 2016
This configuration option allows users to control the number of event log records that are read, processed, and published in its event loop.

Backport of elastic#2641
This configuration option allows users to control the number of event log records that are read, processed, and published in its event loop.
@@ -218,7 +219,7 @@ func reportDrop(reason interface{}) {
// newWinEventLog creates and returns a new EventLog for reading event logs
// using the Windows Event Log.
func newWinEventLog(options map[string]interface{}) (EventLog, error) {
var c winEventLogConfig
c := winEventLogConfig{BatchReadSize: defaultBatchReadSize}
Copy link
Member

Choose a reason for hiding this comment

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

The more "ucfg" like approach here would be probably to introduce a defaultConfig and set detaulBatchReadSize there?

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

@ruflin
Copy link
Member

ruflin commented Oct 3, 2016

LGTM

@ruflin ruflin merged commit 16d3827 into elastic:master Oct 3, 2016
ruflin pushed a commit that referenced this pull request Oct 3, 2016
This configuration option allows users to control the number of event log records that are read, processed, and published in its event loop.

* Update changelog.

Backport of #2641
@monicasarbu monicasarbu deleted the feature/wlb-batch-read-size branch October 9, 2016 19:20
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
This configuration option allows users to control the number of event log records that are read, processed, and published in its event loop.

* Update changelog.

Backport of elastic#2641
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.

2 participants