builtin:rum.web.variables)
Create variables to later use them in naming rules or properties. View examples on variables.
Schema ID | Schema groups | Scope |
---|---|---|
builtin:rum.web.variables |
| APPLICATION - Web application |
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.variables |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:rum.web.variables | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:rum.web.variables |
To execute this request, you need an access token with Read settings (settings.read
) scope. To learn how to obtain and use it, see Tokens and authentication.
Property | Type | Description | Required |
---|---|---|---|
Sourcesource | Source | - | required |
Processing stepsprocessingSteps | ProcessingStep[] | - | required |
Variable namename | text | - | required |
Source
objectProperty | Type | Description | Required |
---|---|---|---|
Typetype | enum |
| required |
CSS selectorcssSelector | text | Specify a CSS selector. This mechanism will capture the first match's innerText/textContent value. To retrieve a specific attribute value of the element, append the '@' symbol, followed by the attribute name. i.e. '#someDomElement@someAttribute' | required |
JavaScript variablejsVariable | text | Specify a JavaScript variable. This variable must be available globally and the capture expression must use dot notation for property reference. i.e. 'someVar.version'. See documentation for details. | required |
Cookie valuecookieValue | text | Specify a cookie name to capture its value. | required |
Meta tag namemetaTag | text | Specify a meta tag name to capture its 'content' value. | required |
Query stringqueryString | text | Specify a query string parameter to capture its value. | required |
Request attribute namerequestAttribute | text | Select an existing request attribute or create a new one ( | required |
ProcessingStep
objectProperty | Type | Description | Required |
---|---|---|---|
Typetype | enum |
| required |
Leading delimiter (extract/replace starts here)patternBefore | text | - | required |
Text to searchsearchPattern | text | - | required |
OccurrencepatternBeforeSearchType | enum |
| required |
Trailing delimiter (extract/replace ends here)patternAfter | text | - | required |
OccurrencepatternAfterSearchType | enum |
| required |
Regular expressionregularExpression | text | - | required |
Replace with – Optionalreplacement | text | - | optional |
Fall back to selected sourcefallbackToSelectedSource | boolean | - | required |