Skip to content
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

Value pairs upper and lower transforms #4452

Merged

Conversation

bazsi
Copy link
Collaborator

@bazsi bazsi commented Apr 28, 2023

This is an attempt to add support for lower/upper transformations in value-pairs expressions as discussed in #4422

This is how to use it:

file("logfile" template("$(format-json * --lower)\n"));

Or, a slightly different example:

file("logfile" template("$(format-json * foo.bar=value --rekey foo.* --upper)\n"))

@alltilla alltilla force-pushed the value-pairs-upper-and-lower-transforms branch from 682bb7b to fecbcd2 Compare May 2, 2023 07:18
Copy link
Collaborator

@alltilla alltilla left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Fixed the style-check with a force push.

@bazsi bazsi merged commit 68d82d2 into syslog-ng:master May 2, 2023
fekete-robert pushed a commit to axoflow/axosyslog-core-docs that referenced this pull request Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants