Fluentd fails to send logs to external syslog server for record with severity=unknown

Solution Verified - Updated -

Issue

  • After configuring fluentd daemonset to send logs to external syslog server as per the official documentation , the external syslog server does not receive logs if application logs have severity/loglevel=unknown and environment variableREMOTE_SYSLOG_USE_RECORD is set to true.

  • Fluentd pod logs are flooded with below error messages:

2020-07-06 13:05:34 ... temporarily failed to flush the buffer. next_retry=2020-07-06 13:05:35 ... error_class="ArgumentError" error='unknown' ... plugin_id=remote-syslog-input
2020-07-06 13:05:35 ... temporarily failed to flush the buffer. next_retry=2020-07-06 13:05:36 ... error_class="ArgumentError" error='unknown' ... plugin_id=remote-syslog-input

Environment

  • Red Hat OpenShift Container Platform
    • 3.11

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