2.18.7 Enabling and disabling the audit trail facility
Because the output of audit trail information significantly impacts the performance of the HADB server, the system is configured to not output audit trail information by default. In this state, the audit trail facility is said to be disabled.
After you have completed environment setup for the audit trail facility, executing the adbaudittrail --start command enables the facility. Audit trail information will be output from this point. When the audit trail facility is enabled, the following operations can be performed in relation to the facility:
-
Using the ADB_AUDITREAD function to reference an audit trail
-
Use CREATE AUDIT statements to define audit targets
-
Use DROP AUDIT statements to delete audit target definitions
-
Use REVOKE statements to revoke audit privileges
To disable the enabled audit trail facility, you execute the adbaudittrail --stop command. Disabling the audit trail facility stops the output of audit trail information.
- Important
-
Only an HADB user with audit admin privilege can enable and disable the audit trail facility.