Skip to content

I am not familiar with c language, kafka output-plugin when producing messages, how is the message timestamp set? Is it the time the log was read or the time the message was created? #8890

Discussion options

You must be logged in to vote

It's whatever you tell it to parse (not all inputs are log files remember) so either you parse it from the input or it defaults to the current time when the input record is created.

https://docs.fluentbit.io/manual/concepts/key-concepts#timestamp does say this at the bottom too - there's no need to understand the code just check the docs.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 1123183721
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