I'm confused with Exit_On_Eof #10073
Unanswered
belmarkjunecaday
asked this question in
Q&A
Replies: 1 comment
-
Note Fluent Bit will exit if EOF is hit on any of those files - it will not wait for them all to be EOF. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have multiple processes that writes to multiple files which fluent-bit will collect from. These are daily logs, around 3k files, some can reach up to 700MB, some as small as 3kb. I always have to restart fluent-bit because at some point it stops collecting and when I look into mdsd.err file I have this error message
AMACoreAgent connector socket Data:2 read handler error code 2; End of file
I tried to set the Exit_On_Eof to true. What happens when fluent-bit is reading a file while my application is still writing to that same file? will fluent-bit wait for the process to done writing and consider it as end of file? or will I lose some log data if this happens?
Here is my config:
Beta Was this translation helpful? Give feedback.
All reactions