Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

AggregateFirst Element Documentation

NAME

AggregateFirst — Click element; lets through first packet per aggregate annotation

SYNOPSIS

AggregateFirst([KEYWORDS])

Ports: 1 input, 1-2 outputs
Processing: agnostic, but output 1 is push
Drivers: userlevel

DESCRIPTION

AggregateFirst forwards only the first packet with a given aggregate annotation value. Second and subsequent packets with that aggregate annotation are emitted on the second output, if it exists, or dropped if it does not.

Keyword arguments are:

  • NOTIFIER — The name of an AggregateNotifier element, like AggregateIPFlows. If given, then AggregateFirst will prune information about old aggregates. This can save significant memory on long traces.

NOTES

AggregateLast forwards the last packet with a given aggregate annotation value, and additionally annotates the packet with the observed packet and byte counts. It takes significantly more memory, however.

Only available in user-level processes.

SEE ALSO

AggregateLast, AggregateIP, AggregateIPFlows, AggregateCounter, AggregateFilter

Generated by click-elem2man from ../elements/analysis/aggregatefirst.hh:7 on 2018/10/03.

Clone this wiki locally