Windows Events receiver is starting to collect logs from beginning after restarting the machine #35232
Labels
bug
Something isn't working
needs triage
New item requiring triage
os:windows
receiver/windowseventlog
Component(s)
receiver/windowseventlog
What happened?
Description
Try to collect few windows event logs by providing start_at: beginning. After collecting few logs, restart the machine and run the opentelemetry with same configuration. You can see same logs were collected which we got before restarted the machine.
Steps to Reproduce
Expected Result
Actual Result
Collector version
1.0.109
Environment information
Environment
OS: ("Windows 2022")
Compiler: (n/a)
OpenTelemetry Collector configuration
Log output
No response
Additional context
I think the issue here we are using context while getting the windows events, but that context will be dead once we stop the opentelemtry. so, it is trying to fetch events from starting again once we restart.
The text was updated successfully, but these errors were encountered: