Skip to main content
dkozlowski
Gold ⭐️
January 30, 2017

How to enable Ambari audit

  • October 5, 2026 at 9:26 AM
  • 4 replies
  • 4090 views
  • Translate All

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

4 replies

hangdianwh
Silver ⭐️⭐️
March 22, 2017

Hi,I use Ambari ver.2.2.2 and do as you said , but I don't find the audit log.

Translate
dkozlowski
Gold ⭐️
March 22, 2017

@w hao

There is not a separate audit log. The details go to ambari-server one.

Translate
hangdianwh
Silver ⭐️⭐️
March 23, 2017

13988-qq图片20170323103222.png

I find this message,but don't find like audit

Translate