WebSphere brand IBM WebSphere Sensor Events, Version 6.2

getEventMessageForFilter

Purpose

This Web service returns all events which meet the given criteria.

Syntax

KeywordValuePair[ ] getEventMessageForFilter(KeywordValuePair[ ] kv_filterCriteria,LocaleDescriptor locale)

Input

kv_filterCriteria: The first argument is an array from the type, com.ibm.atlas.adminobjects.laseventhandling.KeywordValuePair. The possible criteria are:
Table 1. Possible criteria for kv_filterCriteria
Keyword Value
tagid String

For example: “0000007”

taglabel String

For example: „Tag 0000007“

tagclass String

For example: „Person“

taggroup String

For example: „Laptop“

handled String

yes (acknowledge) or no (active)

eventafter SimpleDateFormat in the format: „yyyy-MM-dd'T'HH:mm:ss.SSS'Z'“
eventbefore SimpleDateFormat in format: „yyyy-MM-dd'T'HH:mm:ss.SSS'Z'“
eventtype String, which is one of the existing event types

For example, “LasZoneEntry”

If you define more than one criterion, only events which meet all of the criteria are returned. Wildcards are not supported.

locale: If you want to set the default value, you have to input null. See Localization and input parameters for more information about the locale descriptor.

Ouput

An array from the type, com.ibm.atlas.adminobjects.laseventhandling.KeywordValuePair, is returned. To access to the values of each element in the array you can use getKeyword() and getValue(). GetKeyword() returns the global instance ID and getValue() returns the event as a localized message.


Library | Support | Terms of use

(c) Copyright IBM Corporation 2004, 2009. All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.