UndefinedConversionError from ASCII-8BIT to UTF-8 in OpenShift Fluentd

Solution Unverified - Updated -


  • Seeing messages about ASCII-8BIT and UTF-8 in the fluentd logs
13 Oct 2017 09:44:29.944{ "error_class": "Encoding::UndefinedConversionError", "error": "\"\\xC2\" from ASCII-8BIT to UTF-8", "tag": "kubernetes.journal.container", "message": "emit transaction failed: error_class=Encoding::UndefinedConversionError error=\"\\\"\\\\xC2\\\" from ASCII-8BIT to UTF-8\" tag=\"kubernetes.journal.container\"" }
13 Oct 2017 09:44:29.944{ "error_class": "Encoding::UndefinedConversionError", "error": "#<Encoding::UndefinedConversionError: \"\\xC2\" from ASCII-8BIT to UTF-8>", "message": "unexpected error in in_secure_forward from error_class=Encoding::UndefinedConversionError error=#<Encoding::UndefinedConversionError: \"\\xC2\" from ASCII-8BIT to UTF-8>" }
  • Fluentd secure-forward plugin not sending all messages, especially non-ASCII characters


  • Red Hat OpenShift Container Platform
    • 3.4
    • 3.5
    • 3.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.