vectordotdev / vectordotdev/vector
Fallback values for templated fields
Open
@bruceg is already working on this.
Since Aug 12, 2022.
domain: config
domain: templating
have: should
needs: approval
needs: requirements
- Dominant language
- Rust
- Stars
- 22.6k
- Forks
- 2.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 146
Description
When interpolating event fields, it would be helpful to specify a fallback value for when the specified field is not present.
Some questions to answer before implementing:
- Should we support falling back to a different field?
- Should we support a chain of fallbacks?
- How to determine when to fall back? Only when the field is not present? What about empty values?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.