Fix in https://github.com/openshift/origin/pull/21080
Fail to verify it with:openshift v3.11.22
Geliu I assume your failure is the one from https://bugzilla.redhat.com/show_bug.cgi?id=1631087#c4 so here the same applies, you need to set logFormat explicitly to get different log format.
Verified with ocp: openshift v3.11.22 master-config.yaml: auditConfig: auditFilePath: "/etc/origin/master/1audit-ocp.log" logFormat: legacy enabled: true maximumFileRetentionDays: 10 maximumFileSizeMegabytes: 10 maximumRetainedFiles: 10 2018-10-15T11:16:23.021652741Z AUDIT: id="f3200303-682c-4432-8bfc-30454f2c2d4f" stage="RequestReceived" ip="172.18.4.154" method="get" user="system:node:ip-172-18-4-154.ec2.internal" groups="\"system:nodes\",\"system:authenticated\"" as="<self>" asgroups="<lookup>" namespace="openshift-template-service-broker" uri="/api/v1/namespaces/openshift-template-service-broker/secrets/apiserver-token-85jvh?resourceVersion=0" response="<deferred>"
Commit pushed to master at https://github.com/openshift/origin https://github.com/openshift/origin/commit/68ebf68ac76e43a5a05490d252810b7682329906 Bug 1632155 - Accept logFormat when passed to audit config
File a new doc bug to trace the doc issue: https://bugzilla.redhat.com/show_bug.cgi?id=1639607
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0024