-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Winlogbeat misses some events with Forwarded Events #3731
Comments
I believe that the problem is with the way Winlogbeat stores the "read pointer" for the |
same error here on Windows Server 2012 R2 with forwarded events |
One workaround until this is fixed is to to use Logstash with fingerprint filter to create the _id field based on the event's Then elasticsearch will deduplicate the data because each unique event has only one possible |
@andrewkroh I saw you changed the title, and wanted to double-check that we are speaking about the same thing here. I opened this issue not because Winlogbeat will lose events when starting up (resuming), but rather during normal operation. The issue with the resume we discussed earlier is possibly related, but not the same problem. Edit: spelling |
I am wondering on the status of this bug (Winlogbeat doesn't resume correctly with Forwarded Events #3731). I can see it is still marked open, but I was hoping it might be picked up on a roadmap or has a date the bug would be likely fixed. I want to use the builtin Windows Eventlog Collection capabilities for collecting workstation events, and then use WinLogBeat to ship them over to our ELK stack. This bug would directly impact that (though I will look into the fingerprint filter suggestion). Much thanks to everyone involved in this project. WinLogBeat/FileBeat really are amazingly useful utilities! |
@PeterZuge we changed to nxlog for the time being. |
Hi, I was wondering what's the status of this bug? This makes Winlogbeat unsuitable for production use pretty much, and forced us to look to other agents such as nxlog. |
With the changes made in #6150 Winlogbeat should now be able to persist and resume state correctly for the If anyone wants to test the changes before v6.3.0 is released you can use the snapshot build. If you test please leave some feedback here. |
I have the same problem. |
@uncletimmy3 Could you please explain a bit more about the conditions under which events were dropped during your testing? |
@andrewkroh Winlogbeat conf: output.file: Subscription conf: |
My bad... I tried to collect events only from SD2DC2, and nothing changed. Probably there are some problems with SD2DC2 |
It's strange but everything began to work normally when I deleted "ignore_older:" option. |
@uncletimmy3 Interesting. That's the first time I've heard of an issue with ignore_older. This feature creates a subscription using a XML query. You can do this in the Windows Event Viewer by creating a Filter and selecting the XML tab. I wonder if you see the same thing in a event viewer? Our XML query looks like
where the time is given in milliseconds (3600000ms = 1h). |
@andrewkroh That's right. I checked code in query.go and saw XML query, beacause of it I had said it was strange in previous comment. I treid to test xml-filter through event viewer and powershell, both were fine. I think there is some bugs in event viewer api. |
I am running Winlogbeat 5.2.0 x64 on Windows 2012 R2. This windows machine (henceforth "the collector") is receiving forwarded event logs from various sources. I have isolated one remote machine, sending only one event log (Security), for testing purposes, in a separate event log on the collector.
Winlogbeat is dropping some of these events. I have noticed that the number of events written by Winlogbeat is consistently about 95% of the actual number of events received through Windows Event Forwarding. I see no errors in the Winlogbeat logs.
I understand this description is not very detailed, but I'm not sure what other information I could provide. If anybody more knowledgeable picks this up however, I'm happy to contribute with any testing that might be required.
The text was updated successfully, but these errors were encountered: