Chapter 7: Using the SafeWord 2008 Management Console
Reporting
170
Report worksheet generation
The SafeWord 2008 Management Console will sometimes generate more than
one worksheet for a given report template. When a report template contains
more then one categories (e.g. users and tokens), an Excel worksheet file will
be created for each data type. In addition, the
Number_of_lines_per_Excel_sheet
property in the Console configuration file
(
client.ini
) governs the number of rows that will be written to any one particular
worksheet file. By default, this property is set to 5000. For example, if you
export 15000 audit logs during the report generation process, the first 5000
rows will be stored in one worksheet file (e.g. with the name “weekly-logs.xls”)
and the remaining 10000 rows will be stored in a second and third worksheet
file with a similar name (e.g. “weekly-logs_0.xls”). The client.ini file is located in
the Administration Console directory (...\SafeWord\AdminConsole).
Whenever the Console creates more than one worksheet file for a single
report, it will also create a
VBScript
file that can be used to merge all of the
individual files into one file with a worksheet for each file. This VBScript can
only be used on Windows platforms. This script file will be named similarly to
the generated worksheet files. To continue the example, this script file would
be called “merge-weekly-logs.vbs”. The output of this script would be a single
Excel worksheet file called “merged-weekly-logs.xls”.
Note:
If you change the value of the Number_of_lines_per_Excel_sheet property
in the Console configuration, you must restart the Console for the new value to
take effect.
Generating reports from the command line
In addition to using the Console to generate reports, you may also generate
reports using a command line tool that is packaged with the Console. This
gives you the ability to create your own shell scripts that can trigger the
creation of several reports in one pass. Additionally, you can use your
operating system’s native scheduling features to call your custom shell scripts
on scheduled intervals. By doing so, you can automate the process of
generating periodic reports (for example, to track authentication activity on a
weekly basis).
The command line reporting tool, called
report.bat
can be found in the Console
installation directory (
...\SafeWord\AdminConsole
). In the same way that the
Console can be installed and executed on a remote machine (i.e. executing on
a machine other then the SafeWord server machine), so can the command line
reporting tool.