How to configure fluentd to merge the logs to a JSON payload document in OCP 4

Solution Verified - Updated -

Issue

  • How to configure fluentd to inspect each logs and then determine if it's format is JSON and merge it into JSON payload documents.
  • How to enable OpenShift 4 to process container logs generated in JSON format in the same way as it was in OpenShift 3?

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4.x
  • Red Hat OpenShift Logging
    • 5.1+

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