You are on page 1of 1

Procedure :

1. Connect to SQLplus and log in as sysdba


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

You might also like