-
Notifications
You must be signed in to change notification settings - Fork 165
LOG-5810: fix cloudwatch stream names #2641
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-5810: fix cloudwatch stream names #2641
Conversation
@cahartma: This pull request references LOG-5810 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.8.0" version, but no target version was set. 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 APPROVED This pull-request has been approved by: cahartma The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@cahartma: This pull request references LOG-5810 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.8.0" version, but no target version was set. 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. |
This is what we did previously and I'm not certain where "file" is needed other then "tag" comes from the source file. File or tag can be replaced by the combination of log_type and log_source.
We need to reconsider what our defaults are and probably intialize them accordingly |
There are a few lines above that, or you have different code than me:
|
/retest |
/refresh |
@cahartma: 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. |
Description
All app logs in cloudwatch had their stream_name set to default. This was caused by the
del(.file)
we are putting in each log_type filter. I've created._internal.file
to store the filename and modified the cloudwatch stream_name assignment.Two small changes, then the remaining files are .toml files for testing.
note: No records are dropped if either of these fields (.file, .message) is not present. I am curious though, what other sinks could have been sending .file previously? other output types?
/cc @Clee2691 @vparfonov
/assign @jcantrill
Links
https://issues.redhat.com/browse/LOG-5807