rum_replay_viewership_history_sessions
Creates, updates, deletes, gets or lists a rum_replay_viewership_history_sessions resource.
Overview
| Name | rum_replay_viewership_history_sessions |
| Type | Resource |
| Id | datadog.digital_experience.rum_replay_viewership_history_sessions |
Fields
The following fields are returned by SELECT queries:
- list_rum_replay_viewership_history_sessions
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier of the RUM replay session. |
attributes | object | Attributes of a viewership history session entry, capturing when it was last watched and the associated event data. |
type | string | Rum replay session resource type. (rum_replay_session) (default: rum_replay_session, example: rum_replay_session) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_rum_replay_viewership_history_sessions | select | filter[watched_at][start], page[number], filter[created_by], filter[watched_at][end], filter[session_ids], page[size], filter[application_id] | List watched sessions. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
site | string | The Datadog site (region) for your organization, for example datadoghq.com, us3.datadoghq.com, us5.datadoghq.com, ap1.datadoghq.com, ap2.datadoghq.com, datadoghq.eu, ddog-gov.com. Resolved from the DD_SITE environment variable when set. Optional: defaults to datadoghq.com, or the value of the DD_SITE environment variable when set; a WHERE value overrides both. |
filter[application_id] | string | Filter by application ID. |
filter[created_by] | string | Filter by user UUID. Defaults to current user if not specified. |
filter[session_ids] | string | Comma-separated list of session IDs to filter by. |
filter[watched_at][end] | integer (int64) | End timestamp in milliseconds for watched_at filter. |
filter[watched_at][start] | integer (int64) | Start timestamp in milliseconds for watched_at filter. |
page[number] | integer (int64) | Page number for pagination (0-indexed). |
page[size] | integer (int64) | Number of items per page. |
SELECT examples
- list_rum_replay_viewership_history_sessions
List watched sessions.
SELECT
id,
attributes,
type
FROM datadog.digital_experience.rum_replay_viewership_history_sessions
WHERE filter[watched_at][start] = '{{ filter[watched_at][start] }}'
AND page[number] = '{{ page[number] }}'
AND filter[created_by] = '{{ filter[created_by] }}'
AND filter[watched_at][end] = '{{ filter[watched_at][end] }}'
AND filter[session_ids] = '{{ filter[session_ids] }}'
AND page[size] = '{{ page[size] }}'
AND filter[application_id] = '{{ filter[application_id] }}'
;