This document provides instructions for enabling database auditing in Oracle and configuring the audit logs to be sent to syslog. The key steps are to set the audit trail to OS, enable auditing for system users, configure the syslog facility and severity level, restart the database, edit rsyslog.conf to forward audit logs, and restart rsyslog to load the configuration.
This document provides instructions for enabling database auditing in Oracle and configuring the audit logs to be sent to syslog. The key steps are to set the audit trail to OS, enable auditing for system users, configure the syslog facility and severity level, restart the database, edit rsyslog.conf to forward audit logs, and restart rsyslog to load the configuration.
This document provides instructions for enabling database auditing in Oracle and configuring the audit logs to be sent to syslog. The key steps are to set the audit trail to OS, enable auditing for system users, configure the syslog facility and severity level, restart the database, edit rsyslog.conf to forward audit logs, and restart rsyslog to load the configuration.
2. Set audit trail to OS : SQL> alter system set audit_trail=OS; 3. Enable auditing for system users : SQL> alter system set audit_sys_operations=TRUE; 4. Set rsyslog facility and severity : SQL> alter system set audit_syslog_level=local5.info scope=spfile sid='*'; 5. Restart database : SQL> shutdown immediate; SQL> startup; 6. Edit syslog configuration file: /etc/rsyslog.conf 7. Add the following line : local5.info @10.138.8.10 8. Save and exit the file. 9. type the following commands to reload the syslog configuration: service rsyslog status service rsyslog restart service rsyslog status