Attributes of the CommonBaseEvent element that are relevant to WebSphere events

The CommonBaseEvent element groups the data for a CommonBaseEvent instance.

The attributes of the CommonBaseEvent element give basic information about a CommonBaseEvent instance. The element has a number of attributes that are common to all instances of common base events. These attributes are described in detail in the Common Base Event specification.

For example, in a WebSphere Process Server environment if an event is sent using the ECSEmitter class, the following attributes are required.

Attribute Description
creationTime The local time on the WebSphere Process Server at which the event is created. This time is set automatically by the runtime environment.
extensionName Identifies the structure and content of the event. You can use the event catalog to publish guidelines on how to read events with a certain extension name.

For example, all process events sent by process choreographer have the extension name of WPC:ProcessInstanceEvent.

globalInstanceId The globally unique identifier of the common base event instance. This ID is set automatically.
sequenceNumber The number of common base events generated so far within a millisecond interval. This value is set to 1 but it can be overwritten.
severity A number that describes the impact that the event has on the creator of the record. The value is set to 10 but it can be overwritten.
version The version of the Common Base Event specification. This is set to 1.0.1.

The following example shows a typical use of these attributes:

<CommonBaseEvent creationTime="2004-06-11T16:22:55.060Z"
                 extensionName="WPC:ProcessInstanceEvent"
                 globalInstandId="CE98004140BBC311D8AC0CE749FC318A97"
                 sequenceNumber="1"
                 severity=10"
                 version="1.0.1">
  ...
</CommonBaseEvent>

For more information on the CommonBaseEvent element, see the Common Base Event specification in the Autonomic Computing Toolkit Developers' Guide delivered with the IBM Autonomic Computing Toolkit, http://www.ibm.com/autonomic.

Parent topic: Common Base Event properties


Copyright IBM Corp. 2003, 2005