Configuring Oracle RDBMS OS Audit Record to communicate with QRadar
When using the Oracle RDBMS OS Audit Record DSM for IBM® QRadar®, you can monitor the audit records that are stored in the local operating system file.
About this task
When audit event files are created or updated in the local operating system directory, a Perl script detects the change and then forwards the data to QRadar. The Perl script monitors the Audit log file, and combines any multi-line log entries into a single log entry to make sure that the logs are not forwarded line-by-line. This format matches the format in the log file. The logs are then sent by using Syslog to QRadar. Perl scripts that are written for Oracle RDBMS OS Audit Record work only on Linux® or UNIX servers. Windows - based Perl installations are not supported.
- Go to the IBM Support website (https://www.ibm.com/support/fixcentral) and download
the following script: QRadar 7.4.0 - 7.4.0-QRADAR-SCRIPT-oracle_osauditlog_fwdr_5.3.tar.gz (https://www.ibm.com/support/fixcentral/swg/selectFixes?parent=IBM%20Security&product=ibm/Other+software/IBM+Security+QRadar+SIEM&release=All&platform=All&function=fixId&fixids=7.4.0-QRADAR-SCRIPT-oracle_osauditlog_fwdr_5.3.tar.gz&includeSupersedes=0)
- Type the following command to extract the file:
tar -zxvf oracle_osauditlog_fwdr_5.3.tar.gz
- Copy the Perl script to the server that hosts the Oracle server. Note: Perl 5.8 must be installed on the device that hosts the Oracle server. If you don't have Perl 5.8 installed, you might be prompted that library files are missing when you attempt to start the Oracle OS Audit script. Verify that Perl 5.8 is installed before you continue.
- Log in to the Oracle host as an Oracle user that has SYS or root privilege.
- Make sure the ORACLE_HOME and ORACLE_SID environment variables are configured properly for your deployment.
- Open the following file:
- For syslog, add the following lines to the file:
- Verify that account has read/write permissions for the following directory:
- Restart the Oracle database instance.
- Start the OS Audit DSM script:
oracle_osauditlog_fwdr_5.3.pl -t target_host -d logs_directory
If you restart your Oracle server, you must restart the script:
oracle_osauditlog_fwdr.pl -t target_host -d logs_directory
For more information about Oracle OS Audit command parameters, see Oracle RDBMS OS Audit Record command parameters.