WebSphere brand IBM WebSphere Sensor Events, Version 6.2

archiveEventForFilter

Purpose

This Web Service archives events to a text file on a server using filtering rules. Every event that fits the given rule is archived.

Syntax

void archiveEventForFilter(KeywordValuePair[] kv_filterCriteria,String target,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.

target: The target represents a string which contains the name and path of the target text file. The text file is created in a directory on the server. For the IP address of server variable, you can use the value of localhost to save the file on the server. Specify the path as follows: /////IP address of server//hard disk drive$/path to file/file name

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.

Output

This Web service returns nothing.


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.