product_analytics_mappings
Creates, updates, deletes, gets or lists a product_analytics_mappings resource.
Overview
| Name | product_analytics_mappings |
| Type | Resource |
| Id | datadog.digital_experience.product_analytics_mappings |
Fields
The following fields are returned by SELECT queries:
- get_mapping
Successful response with entity mapping configuration
| Name | Datatype | Description |
|---|---|---|
id | string | Unique identifier for the get mapping response resource. |
attributes | object | Attributes of the get mapping response, containing the list of configured entity attributes. |
type | string | Get mappings response resource type. (get_mappings_response) (default: get_mappings_response, example: get_mappings_response) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_mapping | select | entity | Get entity mapping configuration including all available attributes and their properties |
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 |
|---|---|---|
entity | string | The entity for which to get the mapping |
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. |
SELECT examples
- get_mapping
Get entity mapping configuration including all available attributes and their properties
SELECT
id,
attributes,
type
FROM datadog.digital_experience.product_analytics_mappings
WHERE entity = '{{ entity }}' -- required
;