Cannot visualize logs in Kibana in RHOCP 4

Solution Verified - Updated -

Issue

  • No query can be executed in Kibana after creating an index pattern.
  • Kibana logs show the following errors: [security_exception] no permissions for [] and User. These are similar to the line below:

    2022-10-20T07:29:49.008869744Z {"type":"error","@timestamp":"2022-10-20T07:29:48Z","tags 
    [],"pid":117,"level":"error","error":{"message":"[security_exception] no permissions for [] and User 
    [name=testuser, roles=[project_user], requestedTenant=__user__]","name":"Error","stack":"[security_exception] no 
    permissions for [] and User [name=testuser, roles=[project_user], requestedTenant=__user__] 
    

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