Skip to content

How to process files with only one line and no line breaks? #15339

Answered by bruceg
pirxthepilot asked this question in Q&A
Discussion options

You must be logged in to vote

The Vector file source is designed for handling files that may be being written to while we are reading. This means it needs some kind of marker to tell when a record has been completely written. By default, that marker is newline. Without the marker, Vector can't know if the line is actually complete or that the writer is still stuck waiting to write something else to the file.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pirxthepilot
Comment options

Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants