logging-view-plugin can't unmarshal string into time.Duration in RHOCP4

Solution Verified - Updated -

Issue

  • The timeout set for the ocpConsole in the clusterLogging custom resource (CR) is not working
  • The logging-view-plugin pod shows the error:

    time="2024-04-11T13:35:51Z" level=error msg="unable to unmarshall config data" error="yaml: unmarshal errors:\n  line 1: cannot unmarshal !!str `120` into time.Duration" module=server
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat OpenShift Logging (RHOL)
    • 5

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