Bug 1554244 - [DOCS] Document how to limit logs fluentd is processing
Summary: [DOCS] Document how to limit logs fluentd is processing
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
: ---
Assignee: Brandi Munilla
QA Contact: Anping Li
Vikram Goyal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-12 08:52 UTC by daniel
Modified: 2018-09-25 15:38 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-25 15:38:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1513409 0 unspecified CLOSED [RFE] The default log driver for docker should be json-file 2021-02-22 00:41:40 UTC

Internal Links: 1513409 1518474

Description daniel 2018-03-12 08:52:00 UTC
Based on the discussion in bz 1513409 OCP 3.9 is going back to json as default log driver for docker.

On the of the possibilities we have in fluentd when using json-file or cri-o, is to limit how fast fluentd reads those logs and sends them to Elasticsearch, so that we can throttle logs from "misbehaving" apps, so that they do not overwhelm fluentd and elasticsearch.

This needs to be documented to show how it is done, see 

https://github.com/openshift/origin-aggregated-logging/blob/master/docs/log-drivers-and-throttling.md#log-throttling

Comment 3 Brandi Munilla 2018-07-10 19:54:06 UTC
Hi Daniel, 

We have a section, "Throttling logs in Fluentd", with instructions on how to do so. 

https://docs.openshift.com/container-platform/3.9/install_config/aggregate_logging.html#aggregated-fluentd

Do you think this is sufficient?

Thanks!

Comment 4 Brandi Munilla 2018-07-23 18:27:49 UTC
Hey Daniel, just wanted to check in and get your thoughts on Comment 3.

Thanks!

Comment 17 Anping Li 2018-09-04 08:03:51 UTC
LGTM

Comment 18 openshift-github-bot 2018-09-07 16:44:51 UTC
Commits pushed to master at https://github.com/openshift/openshift-docs

https://github.com/openshift/openshift-docs/commit/f88daeb0316caef302c4624cc3fbf6cba4850c05
Bug 1554244 Addition example for throttling logs

https://github.com/openshift/openshift-docs/commit/66a65ff62c0dfb76e5075ef513e7e4a6ed5c5667
Merge pull request #11394 from bmcelvee/BZ1554244

Bug 1554244 Addition example for throttling logs

Comment 19 Brandi Munilla 2018-09-07 16:47:00 UTC
Thank you!


Note You need to log in before you can comment on or make changes to this bug.