Comment on page
DYNAMIC_SESSIONS
Collects an array of session start and end times, where a session is defined as a group of events that are not separated by a gap of more than the configured window size.
DYNAMIC_SESSIONS([MAX_SESSIONS,] TIME, WINDOWSIZE)
Type:
integer
Default: 2,147,483,647
(Optional) The maximum number of entries that are counted.
Type:
numeric
The time value associated with each event. This is the value that is used to calculate the gap.
Type:
numeric
The window gap size to use. A session is defined as a group of events that are not separated by a time gap larger than
WINDOWSIZE
.This value should be in the same time unit as
TIME
.Type:
array
Returns an array of session start and end times based on the values in
TIME
with session length being configured by WINDOWSIZE
.Last modified 1yr ago