-
Notifications
You must be signed in to change notification settings - Fork 152
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
LOG-5706: Align syslog output implementation with spec RFC3164 and RFC5124 for Vector #2953
base: release-5.9
Are you sure you want to change the base?
Conversation
…C5124 for Vector Signed-off-by: Vitalii Parfonov <vparfono@redhat.com>
@vparfonov: This pull request references LOG-5706 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vparfonov The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
/test unit |
@vparfonov: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/hold
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's talk about this further. I wish I would have considered the larger implications of this change before you did the work as I think its adding in "features" we wish to not backport
@@ -56,3 +59,49 @@ func ListenOnAllLocalInterfacesAddress() string { | |||
func EscapeDollarSigns(s string) string { | |||
return strings.ReplaceAll(s, "$", "$$") | |||
} | |||
|
|||
// TransformUserTemplateToVRL converts the user entered template to VRL compatible syntax | |||
// Example: foo-{.log_type||"none"} -> "foo-" + to_string!(.log_type||"none") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be that we need to reject these changes for 5.9 and earlier. My brief review of the API is we don't support templating like 6.x and I'm hesitant to add that functionality here.
Description
Backport for #2830
/cc @cahartma
/assign @jcantrill
/cherry-pick
Links