-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
File source doesn't read the log file until the end of file (only first batch) in single run #22108
Comments
Sorry, can't add the full output and example of file into the description (due to size lmit), so adding it here: Input file (raw.log): |
Thanks for sharing the logs @DmitryLukyanov . I think I see the issue. Vector is hitting an error:
Which is causing it to shutdown which is why it is only able to send one batch. The only thing I see in your config that should be binding to a socket is |
thanks @jszwedko for your response, I saw this error before, however I wasn't confident which port exactly is affected (I suspected my azure function, but it didn't look so) and given that this error appears in the log long before the time when I call the function, it didn't look very related.. yes, something is listening port 8686:
it looks like it's vector process that somehow wasn't closed during my tests (even though the powershell process has been completed). If I manually kill this process, it looks like the issue is gone. |
Not sure why the vector process hangs in the tasks even though the parent powershell has been completed, but at least my original question looks resolved. Thanks! |
Aha, gotcha, thanks for confirming! I'll close this out, but let us know if you have any other issues. |
A note for the community
Problem
There is an open related discussion: #22103
File
source doesn't read the full log file. After reading the first batch, the script call become completed. To proceed with the second batch, thevector ..
call should be launched again. Please see output.I use 2 sinks:
http
(azure function) andconsole
, the issue is visible in console tooOriginal running command (
Launch.ps1
):My folder structure:
After first launch, the
checkpoints.json
looks like:Configuration
Version
vector 0.43.1 (x86_64-pc-windows-msvc e30bf1f 2024-12-10 16:14:47.175528383)
Debug Output
please see the below comment: #22108 (comment)
Example Data
please see the below comment: #22108 (comment)
Additional Context
OS: Windows 11
References
#22103
The text was updated successfully, but these errors were encountered: