Audit Log Properties

Describes auditing log properties and how to configure the log properties.

The following properties apply to the audit log file:
  • Audit Log Directory - The directory in which audit event log files are written. By default, this property is not set if Cloudera Navigator is not installed.
  • Maximum Audit Log File Size - The maximum size of the audit event log file before a new file is created. The unit of the file size is service dependent:
    • HDFS, HBase, Hive - MiB
    • Impala - lines (queries)
  • Number of Audit Logs to Retain - Maximum number of rolled over audit logs to retain. The logs will not be deleted if they contain audit events that have not yet been propagated to Audit Server.

Configuring Audit Logs

  1. Click a supported service.
  2. Click the Configuration tab.
  3. Configure the log properties in the following categories:
    • Impala - Impala Daemon Default Group > Logs
    • HBase, HDFS, Hive, Sentry - Service-Wide > Logs
  4. Edit the audit log properties.
  5. Click Save Changes.
  6. Restart the service.