-
Notifications
You must be signed in to change notification settings - Fork 5.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 field/tag keys to strings processor #6129
Conversation
I guess we should remove the old key after each modification? I notice that |
Should we also remove the old key when |
The dest operation is weird, perhaps we shouldn't include it in future processors and think about deprecating it. Maybe a copy processor would make more sense? Instead of using dest you use the copy processor, then you modify the copy. I think it will be tough to model this until we add a real language. Looks like there are a few examples that need updated and then this is good. |
For tags and fields, if |
I'm more inclined to move in the direction of deprecating the |
Resolves #5928
This enables the string processor to work on tag and field keys with the config additions of
tag_key
andfield_key
.Example
Config
Input
Output
Try it here:
linux/
amd64
arm64
armel
armhf
i386
mipsel
s390x
static_amd64
windows/
amd64
i386
freebsd/
amd64
i386