Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After dragging this unit into the Flow canvas, double-click it to access its configuration options. The following table describes the configuration options of this unit:

Tab

Field

Description

General

Name

Enter a name for the unit. It must start with a letter, and cannot contain spaces. Only letters, numbers, and underscores are allowed.

Description

Enter a description detailing the scope of the unit.

Key field(s)

Enter the name of the input event field(s) containing key(s).

Size

The number of events in a window. Must be greater than 1.

Purge size

The number of events to purge from the window when it is considered complete. If it's equal to "size", a tumbling window is used. If it's smaller, a sliding window is used.

Key(s) field

Enter a name for the output event field containing key(s).

Window field

Enter a name for the output event field containing the window list. 

Size field

Enter a name for the output event field containing the window size.

Input ports

Port

Description

in

All events enter through this port.

Output ports

Port

Description

out

Outputs events properly stored.

error

Signals when an error occurs. Outputs input events enriched with standard error fields.

Example

In this example, we wish to accumulate five 404 status codes and send them via email when the threshold has been met to alert of the error.

...