Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
maxLevel2
typeflat

...

This operation collects given elements into a map, including their count (pairs <value, repetitions>), following the order of aggregated events.

...

After grouping the data, select Aggregate in the search window toolbar, then select the Collect compact operation. You need to specify one argument:

Argument

Data type

mandatory

any

The data type of the aggregated values is map.

...

The arguments needed for the collect distinct compact operation are:

  • collect distinctcompact → responseLength field

...

Click Aggregate to execute the operation.

...

Then, use select... as...  to add the new field that will show the aggregated values. This is the syntax for the collect distinctcompact operation:

Code Block
collectcompact(numeric_field)

...