Creating and Modifying Simple Queries: Filter

Produce a simple query that only passes on events with specific characteristics. Filter uses a CCL WHERE clause.

  1. In the Visual editor Palette, in Streams and Windows, click Filter (filter_template.gif).
  2. Select a location in the diagram and click to add the shape.
  3. Attach the filter object to the appropriate stream or window.
    Attach filter objects to any stream, window, or Flex operator. Filter objects can have only one input.
  4. To edit the value of the filter expression, select the value and change it as necessary. The default value is 1.
    Any expression that evaluates to '1' is true, and passes all records through. A value of zero is false.
  5. (Optional) Use the toggle stream.gif option to designate the filter object as LOCAL or OUTPUT.
Related concepts
Simple Queries
Related tasks
Creating and Modifying Simple Queries: Aggregate
Creating and Modifying Simple Queries: Compute
Creating and Modifying Simple Queries: Join
Creating and Modifying Simple Queries: Union
Creating and Modifying Simple Queries: Pattern