Skip to content

Sample transform "group_by" explanation #22983

Answered by pront
tbenade asked this question in Q&A
Discussion options

You must be logged in to vote

https://vector.dev/docs/reference/configuration/transforms/sample/#group_by

This field is templatable. If it's a constant though, then all events will be treated as a single group. Sampling will apply to that single group. If a template is specified, then groups will be created dynamically. Sampling applies to each group.

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
transform: sample Anything `sample` transform related domain: external docs Anything related to Vector's external, public documentation
2 participants