Running audit reports from the command line
To run audit report on the database, you must first enable the audit feature and configure the audit options described in Global options - detailed description.
The \reports\templates
directory contains a sample template file for each type of report.
Before running any of these reports, ensure that you customize the corresponding template file, either ad.properties or ag.properties.
report_name.properties
, you can specify: - The information to display in the report header.
- How to filter the information to display the expected result.
- The format and content of the report output.
For more information about the specific settings see the explanation provided in the template file beside each field.
reportcli -p report_name.property
[-o output_report_dir]
[-r report_output_name]
[-k key=value ]
[-k key=value ]
.......
- -p report_name.property
- Specifies the path name to the report template file.
- -o routput_report_dir
- Specifies the output directory for the report output.
- -r report_output_name
- Specifies the name of the report output.
- -k key=value
- Specifies the value of a settings. This value override the corresponding value, if defined, in the
common.properties
file or in thereport_name.properties
file.