Software AG Products 10.5 | Administering CentraSite | Managing Logs | Audit Logs for User Information | Recording the Audit Log
 
Recording the Audit Log
Pre-requisites:
To add information into the current audit log through the Command Line Interface, you must have the CentraSite Administrator role.
In certain circumstances, you might want to directly insert information into the current audit log for specific data items. For example, you might want to insert a log entry into the current audit log at the beginning or end of a set of actions.
CentraSite provides a command tool named record auditLog for this purpose. The tool takes an additional parameter, LOGDATA to indicate the data item to insert in the audit log. The audit log entry corresponding to this command is inserted into the audit log file with the type, Z.
*To add information into the current audit log
*Run the command record auditLog.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd record auditLog [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> [-inputData <LOGDATA>]
The input parameters are:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator.
PASSWORD
The password for the registered CentraSite user.
LOGDATA
The data to be written to the audit log.
Example (UNIX):
/opt/softwareag/CentraSite/utilities> ./CentraSiteCommand.sh record auditlog -user Administrator -password manage