Comment on page

# SESSION_COUNT

Counts the number of sessions, where a session is defined as events separated by no more than the given window size.

SESSION_COUNT([STORED_SESSIONS,] TIME, WINDOWSIZE)

Type:

`integer`

Default: 2,147,483,647

(Optional) The maximum number of entries that are counted. When omitted, there is effectively no limit.

Type:

`numeric`

The time value associated with each event. This is the value that is used to calculate sessions.

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:

`integer`

Returns the number of sessions based on the values in

`TIME`

with session length being configured by `WINDOWSIZE`

.Last modified 1yr ago