-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for template strings with the remap language #3836
Labels
domain: templating
Anything related to templating Vector's configuration values
have: should
We should have this feature, but is not required. It is medium priority.
needs: rfc
Needs an RFC before work can begin.
type: enhancement
A value-adding code change that enhances its existing functionality.
Comments
binarylogic
added
type: enhancement
A value-adding code change that enhances its existing functionality.
domain: templating
Anything related to templating Vector's configuration values
labels
Sep 12, 2020
binarylogic
added
the
have: should
We should have this feature, but is not required. It is medium priority.
label
Sep 17, 2020
There are two issues with this change that need to be clarified.
I think the user will need to explicitly state which syntax they are using in the configuration.
I think this needs an RFC. |
Go for it. Would you mind opening a separate issue for the RFC work specifically? |
Closing, please see #4905 (comment) for reasoning. |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
domain: templating
Anything related to templating Vector's configuration values
have: should
We should have this feature, but is not required. It is medium priority.
needs: rfc
Needs an RFC before work can begin.
type: enhancement
A value-adding code change that enhances its existing functionality.
I'd like to unify our templating syntax with our remap language. This was inspired by Rune's template string support. The benefits are:
Option questions
Should we still support control flow (if statements) of some sort? I could see the case for ternary like operators:
Are we better off breaking this into smaller issues? For example, can we start with the template string code and unit tests, and then follow it up by implementing it into each relevent sink?
Requirements
del
, should not.If we find there are many open questions, let's start with an RFC.
The text was updated successfully, but these errors were encountered: