Audit all sql statements - sysdba users and non sysdba users
Hello All,
I have a centralized monitoring tool and i want to configure auditing on oracle database to write all events to syslog and then forward those logs to my monitoring tool.
I have set my parameter audit_trail=os and audit_syslog_level=local0.warning.
As sys user, I am able to get all my output as expected..this is shown below:
May 29 09:49:26 LiveDB Oracle Audit[14692]: [ID 748625 local0.info] LENGTH : '183' ACTION :[30] 'select username from dba_users' DATABASE USER:[1] '/' PRIVILEGE :[6] 'SYSDBA' CLIENT USER:[6] 'oracle' CLIENT TERMINAL:[5] 'pts/3' STATUS:[1] '0' DBID:[10] '2881474030'
The problem is when am connected as another user, I don't get the action field. It appears as below whenever am running a sql statement: