To enable auditing on the Kubernetes API Server, the audit log path must be set.
Edit the openshift-kube-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/kube-apiserver/audit.log",
...