Configuring System Events Information
To configure system event information, you might have to complete the following tasks:
| • | Audit System Events |
| • | Publish System Events |
| • | Import and Export System Event Configurations |
| • | Display System Event Information |
| • | Remove System Event Information |
Audit System Events
Set the value of the SYSTEM_EVENT_LOGGING process attribute to 1 to audit system events. See SYSTEM_EVENT_LOGGING.
Publish System Events
After auditing system events, set the PUBLISH_SYS_EVENT_METHOD process attribute to decide in which way to publish system events. Three ways to publish system events:
| • | Windows Event Viewer |
Set the PUBLISH_SYS_EVENT_METHOD process attribute to 1. This function is only available for Microsoft Windows system.
The following is an example of a published system event shown in Windows Event Viewer.

| • | TIBCO Hawk Agent |
Set the PUBLISH_SYS_EVENT_METHOD process attribute to 2. The following is the format of the alert message about published system events in TIBCO Hawk:
Logical Machine ID-Logical Process Name-Logical Process Instance: Details in DB:User
The following is an example of a published system event in TIBCO Hawk.

| • | The IAPJMS process |
Set the PUBLISH_SYS_EVENT_METHOD process attribute to 3. You can check the published system events in the XML format in the iapjms_java.log file, which is located in the SWDIR/logs directory.
The following is an example of a published system event in the iapjms_java.log file:
<SystemEvent xmlns="http://bpm.tibco.com/2014/IAPSE/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://bpm.tibco.com/2014/IAPSE/1.0 SWSEMessage.xsd">
<ActivityID>1</ActivityID>
<EventDesc>Successful login</EventDesc>
<DetailInfo>
<MachineName>WANGJUAN-LT</MachineName>
<ProcessName>RPC_POOL</ProcessName>
</DetailInfo>
<AuditUser>administrator</AuditUser>
<AuditDate Microseconds="611534">2014-05-15T14:35:41</AuditDate>
</SystemEvent>
If the value of the SEJMS_TOPICNAME process attribute is set, the events are published on the topic name that is set in the SEJMS_TOPICNAME process attribute. Otherwise, the events are published on the topic name that is set in the IAPJMS_TOPICNAME process attribute.
For more information, see PUBLISH_SYS_EVENT_METHOD.
Import and Export System Event Configurations
You can specify publishing and auditing system events in a configuration file. To import and export a configuration file, use the swutil IMPEVENTCONF [filename] and swutil EXPEVENTCONF commands. The sysevents.cfg configuration file is used by default, which is located in the SWDIR/etc/english.lng directory.
For more information, see "System Event Monitoring" in TIBCO iProcess swutil and swbatch Reference Guide.
Display System Event Information
If you want to review the information about system events, use the plist -e command.
For more information, see System Event Information.
Remove System Event Information
If you want to delete system event information from the database, use the swadm delete_system_event command.
For more information, see Removing System Events Information from the iProcess Database.