-
Notifications
You must be signed in to change notification settings - Fork 39k
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
Fluentd: concatenate long logs #68012
Conversation
b9de11b
to
39386c0
Compare
/sig instrumentation |
Up? |
39386c0
to
1969464
Compare
1969464
to
cf4bcf6
Compare
/retest |
@neolit123 all test are passing, are you interested in reviewing? |
@desaintmartin |
might be a good idea to add a release note under |
Good suggestion, thanks. |
@desaintmartin thanks for your contribution! please up the patch level for the following versioned items:
|
/assign @coffeepac |
@coffeepac Thanks! isn't the versions in the |
cf4bcf6
to
f69533f
Compare
@desaintmartin often the same but not necessarily. the version for the daemonset spec is for the entire spec and any versioned resources in it. I expect them to align again when the image revs a minor version. |
f69533f
to
04b51a1
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: coffeepac, desaintmartin 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 |
/test pull-kubernetes-integration |
@coffeepac Am I doing something wrong or is it OK that this test does not pass? |
that test is required to pass. I will take a quick look. |
May I rebase from master to see if the test is passing? |
@desaintmartin sure. sorry, got a bit sidetracked from this. |
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
…cker into several lines. See kubernetes#52444. Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
fcf21e0
to
def0029
Compare
/test pull-kubernetes-e2e-gke |
It finally passes. |
it takes a village. |
/lgtm |
/retest Review the full test history for this PR. Silence the bot with an |
1 similar comment
/retest Review the full test history for this PR. Silence the bot with an |
/test pull-kubernetes-integration |
Thanks. Should someone generate a new version of gcr.io/google-containers/fluentd-elasticsearch ? |
@desaintmartin yes. I will submit a PR and go ping the appropriate person in the next few minutes. |
@desaintmartin Thanks for this, this has been kicking my butt! One question. I noticed that the concat filter was put in the output section right before going to elasticsearch. We are using the json parser like this for one of our containers that exports logs as JSON:
The parser has been failing because the JSON log message has been split by the 16k limitation that this PR is addressing. However, it seems like the rejoining of the logs is going to happen after this filter, which means this filter will likely still fail. Am I correct in my assumption? Would there be a way to move the concat plugin up in the chain? |
Can't you put this filter after the concatenation?
And it works well. |
Yes, I think that would work. That is what I was planning on doing. I just wanted to see if I was crazy in my assumption. Thanks for your help. |
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #52444
Special notes for your reviewer:
Release note: