Skip to content
Discussion options

You must be logged in to vote

Vector does not currently provide a built-in sequence generator with durable state across restarts.

One idea that might work for your audit stream is to assign sequence numbers in a durable producer or log store after filtering. Whether that fits would depend on how your sources are combined and where you need to detect missing events.

The component metric would not be suitable for numbering individual events. Although Vector now has get_vector_metric, it reads a periodically refreshed snapshot.

You are welcome to open a feature request for a persistent sequence counter in Vector.

Please don't hesitate to followup in this thread if you have further questions.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pront
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
domain:observability Anything related to monitoring/observing Vector transform:remap Anything `remap` transform related domain:durability Anything related to the durability of Vector events
2 participants