Count Events Over Time Filter

Definition

Description

If event matches Condition, count the total number of events over TimeInterval and release a summary event at the expiration of each time interval to DestinationName.

 

 

Comments

After every TimeInterval, an event will be sent to DestinationName summarizing the total count of events processed. At the end of each TimeInterval the counter will be cleared. A summary event will be released even if no events were processed during that TimeInterval.

If TimeInterval is zero, missing, or blank, then the filter is disabled.

The initial TimeInterval starts at initialization of the system.

The summary records consist of the following fields:

   ev:summary.count - The total number of events processed during the time interval

   ev:summary.startTime - The start time of the time interval.

   ev:summary.endTime - The end time of the time interval.

   ev:summary.seconds - The total time in seconds of the time interval.

   ev:msg="Counted <count> events from <startTime> to <endTime> (<seconds> secs)"

For each event processed by this filter, the following fields are added:

   ev:summary.sequenceNum - The sequence number of the event during the TimeInterval.

   ev:summary.startTime - The startTime of each time interval during which the event   has been processed.

 

Example

<filter objectId="Filter.CountEvents" type="CountEventsOverTimeFilter">
	<parameter type="Condition">
		<negatePrimaryCondition>false</negatePrimaryCondition>
		<conditionRelation>Any</conditionRelation>
	</parameter>
	<parameter type="TimeInterval">
		<time>10</time>
		<units>min</units>
	</parameter>
	<parameter type="DestinationName">SomeDest</parameter>
</filter>