Skip to content

Clarify "File" Source behavior #22103

Discussion options

You must be logged in to vote

Thanks @jszwedko ,

The default batch settings for the http sink are documented here: https://vector.dev/docs/reference/configuration/sinks/http/#batch. In particular, the default batch timeout is 1s so it'll batch data every 1s by default.

I saw it, I mainly surprised that the first batch is often (always?) small comparing with other. For log file with 1000 records like:

	____1_72112c2f-7a53-48eb-ba97-a32b5af86735
	____2_fa23ee39-3d55-4710-9cd6-8e287f832346
	____3_d5841f3f-01b3-41b9-a65a-e2d606dc725a
	____4_69c05d23-dad7-4d5a-bcd8-5361ce311567
	____5_fdf3668e-a997-410d-8953-831defc2f3bb
	____6_07591eef-29f2-47a0-a5ce-38f2667da5e8
	____7_7f0900ae-00f8-492f-87f3-c8ea23544c75
	____8_732d28…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by DmitryLukyanov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
source: file Anything `file` source related platform: windows Anything `windows` platform related
2 participants