Is it a bug in Winlogbeat?

Source code: https://github.com/elastic/beats/blob/master/winlogbeat/eventlog/wineventlog.go.

In the Open method (around line 125), a Windows event named signalEvent is created and then passed to win.Subscribe, however, it has never been released (by calling windows.Close).

On the related MSDN page about the EvtSubscribe method, the Event object passed to EvtSubscribe has been Closed in sample codes.

Is it a bug?

See the conversion in signalEvent not be closed.

I don't recall a pull request being opened to address the issue.

thanks for ur attention

the PR is posted,

https://github.com/elastic/beats/pull/9838

it‘s a sample one,

and it‘s my first time to post PR to beats,some process might miss

anybody could review it?

thanks

Andrew Kroh elastic@discoursemail.com 于2018年12月27日周四 下午10:44写道:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.