Creating a data file for dbload
About this task
Procedure
The first step to prepare for SQL-based audit analysis
is to use onshowaudit -l to extract selected
audit records in dbload format and put them in
an output file.
The following example extracts audit
records for the user
pat
from the database server-managed
audit file laurel.11
and directs
the records to the records_pat
output
file: onshowaudit -I -f laurel.11 -u pat -l > records_pat
Important: You must remove the six header
lines that are in the output file before you use the file as input
for the dbload utility because dbload cannot
process the header lines.
The command-line syntax to extract information with onshowaudit is explained in The onaudit utility: Configure audit masks.