builtin:url-path-pattern-matching-rules)Define rules to match URL patterns out of URL paths. See Service Detection v2 documentation
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:url-path-pattern-matching-rules |
| CLOUD_APPLICATION_NAMESPACE - Kubernetes namespaceKUBERNETES_CLUSTER - Kubernetes clusterHOST_GROUP - Host Groupenvironment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:url-path-pattern-matching-rules |
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:url-path-pattern-matching-rules |
| GET | Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:url-path-pattern-matching-rules |
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 |
|---|---|---|---|
Enabledenabled | boolean | If enabled, the rule will be evaluated. | Required |
Rulerule | Rule | - | Required |
Rule object| Property | Type | Description | Required |
|---|---|---|---|
Rule nameruleName | text | - | Required |
Descriptiondescription | text | - | Optional |
Matching conditioncondition | text | Limits the scope of the service splitting rule using DQL matcher conditions on resource attributes. A rule is applied only if the condition matches, otherwise the ruleset evaluation continues. If empty, the condition will always match. | Optional |
URL path patternsurlPathPatterns | list | First matching pattern defines the resulting url.path.pattern attribute value. A URL path pattern describes how a raw URL path (for example, Patterns are matched against a normalized path that always starts with a single leading Syntax
Patterns are written as a sequence of segments separated by
Examples
Use these patterns to replace high‑cardinality parts of your URLs (IDs, version numbers, deep internal paths) with placeholders or catch‑alls while keeping the overall structure of the endpoint recognizable. | Required |