Community Articles
Find and share helpful community-sourced technical articles
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.
Labels (1)

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
1,087 Views
0 Kudos
Comments
Explorer

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

@w hao

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

Explorer

13988-qq图片20170323103222.png

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

There is no "audit" word. However, you should have some extra entries identifying users being logged in and doing some operations. The details in that file is not presented in the same way like for Ambari 2.4.

Don't have an account?
Coming from Hortonworks? Activate your account here
Version history
Revision #:
1 of 1
Last update:
‎01-30-2017 12:52 PM
Updated by:
 
Contributors
Top Kudoed Authors