Fluentd flush logs when Elasticsearch is not healthy overwhelming the logstore in Openshift 4

Solution Unverified - Updated -

Issue

  • Fluentd flushes logs overwhelming Elasticsearch before it becomes healthy.
  • Fluentd not able to push logs to Elasticsearch for following error:

    $ oc logs fluentd-9jzkn -n openshift-logging -c fluentd |grep 2021-10-25T18:07
    2021-10-25T18:07:33.023054138Z 2021-10-25 18:07:33 +0000 [warn]: dump an error event: error_class=Fluent::Plugin::ElasticsearchOutput::RecoverableRequestFailure error="could not push logs to Elasticsearch cluster ({:host=>\"elasticsearch.openshift-logging.svc\", :port=>9200, :scheme=>\"https\"}): Failure when receiving data from the peer" 
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content