Detect when Vector is lagging #20432
Unanswered
ShahroZafar
asked this question in
Q&A
Replies: 1 comment 1 reply
-
My suggestion for this would be to add a timestamp to each event as it is written to the file and then you could measure the difference between the timestamp being read and "now" (in Vector this could be done using a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way using which we can somehow detect by how much the vector is falling behind reading events from a particular file?
Currently we want to use vector to use file source to push logs of a very critical application (Almost 0 log loss) to kafka and we want to get alerted if vector is lagging behind and is not keeping up with the load.
The deployment is in kubernetes (We are currently not using kubernetes_logs source as log enrichment doesn't matter and we want to keep the log entry size as small as possible)
Beta Was this translation helpful? Give feedback.
All reactions