Optimize 10.5 | webMethods Optimize Documentation | Administering webMethods Optimize | Built-In Services | pub.optimize.monitoring:addEvent (event) | Input Parameters
 
Input Parameters
The following table describes the input parameters.
Connection
String Optional. Specifies the JMS server to which information will be sent. If no JMS server is specified, the service uses Software AG Universal Messaging as the default. The Software AG Universal Messaging URL format is as follows:
nsp://{host}:{port}
The Broker URL format is as follows:
broker://{host}:{port}/{brokerName}/analysis
Note:
Before you can use this parameter, you must ensure that the specified connection is available on the Connection Settings page as described in Configuring the WmOptimize Package. If the connection does not exist, you can create a connection to the broker URL using the pub.optimize.monitoring:createNewConnection service.
timestamp
String Optional. Time to associate with the eventType. The time zone parameter of the date must be set to “GMT” in Designer. For input from Integration Server or Designer, the time must be in the following format:
yyyy-MM-ddTHH:mm:ss.SSSZ
For input from Optimize, the time must be in one of the following formats:
yyyy-MM-dd’T’HH:mm:ss.SSS’Z’
yyyy-MM-dd’T’HH:mm:ss.SSSZ
yyyy-MM-dd’T’HH:mm:ss.SSS
yyyy-MM-dd HH:mm:ss.SSS
If left blank, this field defaults to the current date and time.
eventType
String Type of the event (for example, OrderProcess).
eventMap
Document Container for the list of event attributes.
Parameter
Value
key
StringAttribute name (for example, Revenue).
value
String or key/valueAttribute value (for example, 500).
Note:
If the parameter is of type date, you must use the following time format:
yyyy-MM-dd’T’HH:mm:ss.SSS’Z’