Collects fields from multiple events into one event.

fields[string]true Names of the fields to keep. [a]
limitnumberfalse2000Limit to number of distinct values in collect.
multivalbooleanfalsetrueCollects the resulting value as multivalue (a single field value using separator).
separatorstringfalse\nSeparator used for multiple values.

[a] When you provide only one parameter, the implied parameter is fields


Collects visitors, each visitor defined as non-active after one minute.

groupby(client_ip, function=session(maxpause=1m, collect([url])))