Top
Systemwalker Runbook Automation Installation Guide
Systemwalker

8.1.1 Process Instance Audit Logs

The process instance start time, end time, starter and status information is output as an audit log.

Settings

There is no particular need to configure settings for the collection of process instance audit logs. The settings will be complete at the point when the installation and setup of the Systemwalker Runbook Automation Management Server are complete.

Usage

To obtain the process instance audit logs, execute the get process instance audit information command (swrba_audit). Refer to the Systemwalker Runbook Automation Reference Guide for information on the swrba_audit command.

Example)

swrba_audit

The process instance audit information that can be obtained using the swrba_audit command without any options will be the process instance information that was complete after the swrba_audit command was executed without any options the previous time.

Output Location

The process instance audit log is output to the following process instance audit information file. Refer to the Systemwalker Runbook Automation Reference Guide for information on the process instance audit information file.

[Windows]

[Systemwalker Runbook Automation Management Server installation directory] \var\audit\swrba_audit.log

[Linux]

/opt/FJSVswrbam/var/audit/swrba_audit.log

Log Output Format

The audit log is output in the following format. One process instance information is displayed as one record.

"process instance start time","process instance starter","process instance name","process instance status","process instance end time","activity name","transition date and time","person responsible","task status","selection result",...,"exit node"

Example of the output

The example below shows the output of the audit information for the process instance with the name "Sample-1".

"2011-05-11 14:50:32.460","swrbaadmin","Sample-1","closed","2011-05-11 14:53:27.161","Activity1","2011-05-11 14:53:27.033","swrbaadmin","COMPLETED","Arrow2","Exit1"

Example of the operation

The example below shows the recommended operation.

  1. Using an operating system feature such as Task Scheduler (Windows) or cron (Linux), configure the settings so that the get process instance audit information command is executed at fixed intervals. The get process instance audit information command is executed without any options.

    When this command is executed without any options, any process instance audit logs output between the previous time the command was executed without any options and when the command is executed this time will be collected.

  2. After the command was executed, create another directory using a name such as the date, create the process instance audit information file (if there are multiple files, create all of them) then back up the file (or files) in the directory that was created.

  3. Delete the process instance audit information file that was output in 1. (if there are multiple files, delete all of them).

  4. Repeat steps 2 and 3. Each time the command is executed.

Point

  • The process instance audit information file content is managed as 10MB x 10 generations. Design so that the execution of the get process instance audit information command once does not result in 100MB being exceeded.

  • Execute test operations, and check/adjust the get interval.

  • By specifying the -closedafter and -closedbefore options in the command, it will be possible to get the process instance audit logs separately at specified intervals.