KSC Open API
Kaspersky Security Center API description
EventProcessingFactory::CreateEventProcessing2 ( params  pFilter,
array  vecFieldsToReturn,
array  vecFieldsToOrder,
int  lifetimeSec,
[out] wstring  strIteratorId 
)

Create event processing iterator with filter.

Parameters:
pFilter(params) object containing values for attributes to filter events. Only events with matching attribute values will be returned. If empty all events will be returned. See List of event filter attributes for attribute names.
vecFieldsToReturn(array) array of attribute names to return. See List of event attributes for attribute names.
vecFieldsToOrder(array) array of containers each of them containing two attributes:
  • "Name" (paramString) name of attribute used for sorting
  • "Asc" (paramBool) ascending if true descending otherwise
lifetimeSec(int) max result-set lifetime in seconds.
[out]strIteratorId(wstring) result-set ID, identifier of the server-side ordered collection of found data records. The result-set is destroyed and associated memory is freed in following cases: