Skip to content

When to template a configuration property versus a literal #23200

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

You must be logged in to vote

Hi @tbenade, there is some overhead when using templates but if a static value is set, then that generally doesn't affect performance too much. Templates are very flexible. We are not trying to avoid templates but we (or external contributors) usually add them if there's a need. In this case, if you need to read bucket from each event, then it is a valid use case.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tbenade
Comment options

@pront
Comment options

Answer selected by tbenade
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
domain: config Anything related to configuring Vector
2 participants