Description |
If events match Condition, for each unique FieldName, merge FieldName of all following events into the first event and release the combined event after TimeInterval and perform ActionList. |
|
|
Comments |
If either unique FieldName
is missing, blank or invalid, do nothing.
If this new event matches a previously received event, add the value in the second FieldName as a uniquely named field to the event in the map (such as ev:msg1, ev:msg2, ...,.). Each event held in the map expires after TimeInterval. When an event in the maps expires after TimeInterval, it is released to its destination and removed from the map. Additionally, the following event fields are added to the released event: ev:mergeEvents.startTime = StartingTime
Example: First Event in ( 3PM ): Event List
after: Second Event in ( 3:10PM ): Event List
after: Third Event in ( 3:35PM ): Event List
after: Event Released
( 4:10PM ): ev:msg1 = "jam", Event List
after: |
<filter objectId="Test-Filter" type="MergeRelatedEventOverTimeFilter"> <parameter comments="Add comments for Condition..." description="Match all Events" type="Condition"> <negatePrimaryCondition>false</negatePrimaryCondition> <conditionRelation>All</conditionRelation> </parameter> <parameter type="FieldName">ev:host</parameter> <parameter type="FieldName">ev:msg</parameter> <parameter type="TimeInterval"> <time>5</time> <units>min</units> </parameter> <parameter comments="" description="Action 1: Set Event Fields: ev:protocol= from unique ev:srctime; " type="ActionList"> <action autoSetDescription="true" comments="" description="Set Event Fields: ev:protocol= from unique ev:srctime; " type="SetEventFieldList"> <setEventField autoSetDescription="true" comments="" description="from ev:host" fieldName="ev:protocol"> <type>String</type> <formatString> from %1%</formatString> <formatParmSpec> <type>EventType</type> <name>ev:host</name> </formatParmSpec> </setEventField> </action> </parameter> </filter>