-
File source doesn't create an event for the last line in the file. My vector source conf:
Am I missing some configuration that will create an event for last line as well? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @akunafin ! Unfortunately, without the newline, Vector cannot be sure that whatever is writing to the file has finished writing. Each line needs to end with a newline character to indicate it is a complete line. One thing we could do is have a timeout where, if there is no newline after |
Beta Was this translation helpful? Give feedback.
Hi @akunafin !
Unfortunately, without the newline, Vector cannot be sure that whatever is writing to the file has finished writing. Each line needs to end with a newline character to indicate it is a complete line. One thing we could do is have a timeout where, if there is no newline after
n
seconds, Vector will assume the line is complete. If this would be useful to you, could you open a feature request? I hope this helps!