To enable auditing on the OpenShift API Server, the audit log path must be set.
Edit the openshift-apiserver
configmap
and set the audit-log-path
to a suitable path and file
where audit logs should be written. For example:
"apiServerArguments":{
...
"audit-log-path":"/var/log/openshift-apiserver/audit.log",
...