Bug 1573680
Summary: | [RFE] Fluentd handling of long log lines (> 16KB) split by Docker and indexed into several ES documents | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Greg Rodriguez II <grodrigu> |
Component: | RFE | Assignee: | Jeff Cantrill <jcantril> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Xiaoli Tian <xtian> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 3.6.0 | CC: | abedwards, aos-bugs, dcaldwel, jokerman, jolee, knakayam, mmccomas, mpatel, rkant, rmeggins, scuppett, stwalter, tibrahim, tkatarki |
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-03-07 17:55:29 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Greg Rodriguez II
2018-05-01 23:33:47 UTC
The original issue with docker was that it was running OOM when logging because there was no upper limit on the size of a log entry: https://github.com/moby/moby/issues/18057 so a hard coded limit of 16k was used. There were various proposals to make the size configurable: https://github.com/moby/moby/issues/34855 and https://github.com/moby/moby/issues/32923#issuecomment-299334898 which were rejected by docker/moby upstream. We might be able to use https://github.com/fluent-plugins-nursery/fluent-plugin-concat to join split records into a single record. The docker/moby team also suggest that we write our own plugin that would allow a much higher limit. Fixed for CRIO use in 3.11 in https://bugzilla.redhat.com/show_bug.cgi?id=1552304. Closing CURRENTRELEASE with no intention to resolve specifically for docker The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |