-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat Virtualization
Appendix A. Adding a Read-only Kibana User
If you want to allow users without administrator privileges to view the collected logs and metrics, you can create a read-only kibana user. The following is an example for creating a user named user name with view (read-only) permissions.
Create a new user.
# oc create user user name # oc create identity allow_all: user name # oc create useridentitymapping allow_all: user name user name
Log in to openshift-logging.
# oc project openshift-logging
Add a user role with read-only permissions.
# oc adm policy add-role-to-user view user nameAssign a password to the new user.
# oc login --username=user name --password=password
A new read-only kibana user is created.