How to enable Ambari audit
STATEMENT:
Ambari audit log file gets generated from Ambari ver. 2.4 - https://issues.apache.org/jira/browse/AMBARI-15241.
PROBLEM:
How can I enable ambari audit in Ambari ver. 2.2.2?
SOLUTION:
To get ambari 2.2.2 having the audit, follow up the below instruction. This would be to change log level to DEBUG for this PersistKeyValueService class.
- log into ambari node
- edit /etc/ambari-server/conf/log4j.properties
- set (or add) the following property:
log4j.logger.org.apache.ambari.server.api.services.PersistKeyValueService=DEBUG
- save the changes
- run: $ ambari-server restart

