Adding filter conditions in event strategies
You can filter the events in an event strategy to remove all irrelevant events from the stream of data. You can use the equality, numeric, or string operators on the data flow properties to filter events.
In an event strategy rule, open the Properties panel of a Filter shape by double-clicking the shape.
Click Add condition.
In the left field, specify the data flow property to be used by the filter.
From the dropdown list, select an operator.
In the right field, provide a value for your filter condition.
Repeat steps 1 through 5 to add another filter condition.
- Event Strategy rule form - Completing the Event Strategy tab
You use the Event Strategy tab to design and configure your event strategy components. A new instance of the Event strategy rule contains two shapes: Real-time data and Emit. You can add shapes by clicking the add icon that is available when you focus on a shape. To edit a shape, open the properties dialog box of a shape (by double-clicking the shape or by right-clicking and selecting the Properties option). The properties dialog box contains elements that are specific to a given shape.
- About Event strategy rule
Event strategies provide the mechanism to simplify the complex event processing operations. You specify patterns of events, query for them across a data stream, and react to the emerging patterns. The sequencing in event strategies is established through a set of instructions and execution points from real-time data to the final emit instruction. Between real-time data and emit, you can apply filter, window, aggregate, and static data instructions.
- Event Strategy rule - Completing the Create, Save As, or Specialization form