-
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
Corrupt winlogbeat.yml checkpoint file #2313
Comments
👍 To remediate I just delete the file to make the service come back up, but eventually the hosts will revert back to this state. Can also confirm that this effects Windows 10 as well. |
I was able to reproduce this by powering off a Windows 2012 VM running in VirtualBox. It only occurred while I had lots of events being read, which causes the registry to be updated more often. I also noticed that my log file exhibited similar behavior and was full of 0's at the end. |
After some brief investigation, I think the problem is caused by the file cache in Windows. The file cache does lazy writes unless specifically configured to write-through to the disk. So I think the problem is occurring when we lose power and the cache hasn't been flushed. So when we create the file we need to use the File Caching in Windows |
I opened PR #2434 for 5.X to add the |
Closing this as #2434 was merged. |
For confirmed bugs, please report:
I'm using 5.0.0-alpha4 and I noticed that on some users the service was not able to start up. The following error was in the log file:
2016-08-18T18:22:56-07:00 CRIT Exiting: yaml: control characters are not allowed
I noticed that the C:\ProgramData\winlogbeat\winlogbeat.yml file was blank with all zeroes.
This is affecting tens of hosts out of a few hundred. Original forum post here https://discuss.elastic.co/t/corrupt-winlogbeat-yml-checkpoint-file/58417
The text was updated successfully, but these errors were encountered: