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

Move winlogbeat to new publisher pipeline #4690

Merged
merged 2 commits into from
Jul 19, 2017

Conversation

urso
Copy link

@urso urso commented Jul 18, 2017

  • protect (beat.Client).Close() from being called multiple times
  • Move winlogbeat to publisher pipeline
  • move fields + tags processing to pipeline client
  • introduce local processors setting for each configured event log.
  • minor cleanups in tests

@urso urso added in progress Pull request is currently in progress. refactoring review Winlogbeat and removed in progress Pull request is currently in progress. labels Jul 18, 2017
Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for refactoring the tests.

// enable through configuration in order for the web service to be started.
var (
publishedEvents = expvar.NewMap("published_events")
ignoredEvents = expvar.NewMap("ignored_events")
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this one is used anymore.

return beat.Event{
Timestamp: e.TimeCreated.SystemTime,
Fields: m,
Private: checkpoint.EventLogState{
Copy link
Member

Choose a reason for hiding this comment

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

Nice

@@ -58,5 +59,5 @@ def test_invalid_api(self):
]
)
self.start_beat(extra_args=["-configtest"]).check_wait(exit_code=1)
assert self.log_contains(("Failed to create new event log. file API is "
"not available"))
assert self.log_contains("Failed to create new event log."
Copy link
Member

Choose a reason for hiding this comment

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

Is this missing a space after the period? nosetest output / log output

Copy link
Author

Choose a reason for hiding this comment

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

yup. Thanks.

urso added 2 commits July 19, 2017 01:38
- Move winlogbeat to publisher pipeline
- move fields + tags processing to pipeline client
- introduce local `processors` setting for each configured event log.
- minor cleanups in tests
@urso urso force-pushed the pipeline/winlogbeat branch from 731ed74 to 701eda7 Compare July 18, 2017 23:39
@urso
Copy link
Author

urso commented Jul 18, 2017

@andrewkroh I rebased and squashed commits to most recent master.

@urso urso mentioned this pull request Jul 18, 2017
22 tasks
@andrewkroh andrewkroh merged commit 6dd6290 into elastic:master Jul 19, 2017
@urso urso deleted the pipeline/winlogbeat branch February 19, 2019 18:28
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