builtin:service-detection.full-web-request)Rules are evaluated from top to bottom, and the first matching rule applies. Rule conditions are evaluated before Service Id Contributors are applied. Note that conditions do not modify attributes of requests. If conditions match, then Service Id Contributors are applied. All of the Contributors are always applied. But it is possible to influence the creation of Services by choosing how they get transformed.
More extensive information on Service detection rules can be found here.
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:service-detection.full-web-request |
| environment |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:service-detection.full-web-request |
| GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:service-detection.full-web-request |
| GET | Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:service-detection.full-web-request |
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 disabled, the rule is skipped during evaluation. | Required |
Rule namename | text | The name of the rule. It is used for identification and has no effect on the rule logic. | Required |
Descriptiondescription | text | A short description of the rule. | Optional |
Management zonesmanagementZones | set | Define a management zone of the process group for which this service detection rule should be created. | Required |
Service Identifier ContributorsidContributors | idContributorsType | Contributors to the Service Identifier calculation. All of the Contributors are always applied. | Required |
Conditionsconditions | condition[] | A list of conditions necessary for the rule to take effect. If multiple conditions are specified, they must all match a Request for the rule to apply. If there is no condition at all, the rule is always applied. Conditions are evaluated against attributes, but do not modify them. Each list item compares one detected attribute with one compare operation. Multiple condition entries are combined with AND. | Required |
idContributorsType object| Property | Type | Description | Required |
|---|---|---|---|
Application identifierapplicationId | serviceIdContributor | Contribute to the Service Id calculation from the detected application identifier. You can keep the detected value, override it with a constant value, or apply transformations before it contributes to the Service Id. | Required |
URL context rootcontextRoot | contextIdContributor | The context root is the first segment of the request URL after the Server name. For example, in the | Required |
Server NameserverName | serviceIdContributor | Contribute to the Service Id calculation from the detected server name. | Required |
condition object| Property | Type | Description | Required |
|---|---|---|---|
Take the value of this attributeattribute | text | The detected attribute that should be compared with the specified operation. | Required |
Apply this operationcompareOperationType | text | The type of comparison operation that should be applied to the detected attribute. When using this field over the Settings API, it is stored as a string and must use one of the fixed compare-operation identifiers. The available subset depends on the selected
| Required |
ValuestextValues | set | If multiple values are specified, at least one of them must match for the condition to match | Required |
ValuestagValues | set | If multiple values are specified, at least one of them must match for the condition to match. | Required |
ValueintValue | integer | The integer value to compare the detected attribute with. | Required |
ValuesintValues | set | If multiple values are specified, at least one of them must match for the condition to match. | Required |
FromipRangeFrom | text | The beginning of the IP range. The condition matches if the detected attribute value is greater than or equal to this value (for | Required |
ToipRangeTo | text | The end of the IP range. The condition matches if the detected attribute value is less than or equal to this value (for | Required |
Technologyframework | Set<frameworkType> | The technology that should be compared with the detected attribute. Select one or more technologies. The condition matches if the detected attribute value equals (for The element has these enums
| Required |
Ignore caseignoreCase | boolean | Ignore case sensitivity for texts. | Required |
serviceIdContributor object| Property | Type | Description | Required |
|---|---|---|---|
Transform this value before letting it contribute to the Service IdenableIdContributor | boolean | When enabled, the detected value contributes to the Service Id. | Required |
serviceIdContributor | transformationSet | Choose how to transform the detected value before it contributes to the Service Id. Note that all of the Transformations are always applied. Transformations are applied in the order they are specified, and the output of the previous transformation is the input for the next one. | Required |
contextIdContributor object| Property | Type | Description | Required |
|---|---|---|---|
Transform this value before letting it contribute to the Service IdenableIdContributor | boolean | When enabled, the context root contributes to the Service Id. | Required |
serviceIdContributor | contextRoot | Choose how to transform the context root value before it contributes to the Service Id. Note that all of the Transformations are always applied. Transformations are applied in the order they are specified, and the output of the previous transformation is the input for the next one. | Required |
transformationSet object| Property | Type | Description | Required |
|---|---|---|---|
Contribution typecontributionType | enum | Defines whether the original value should be used or if a transformation set should be used to override a value or transform it. The element has these enums
| Required |
Value overridevalueOverride | valueOverride | The value to be used instead of the detected value. | Required |
Transformationstransformations | transformation[] | Choose how to transform a value before it contributes to the Service Id. Note that all of the Transformations are always applied. Transformations are applied in the order they are specified, and the output of the previous transformation is the input for the next one. The resulting value contributes to the Service Id and can be found on the Service overview page under Properties and tags. | Required |
contextRoot object| Property | Type | Description | Required |
|---|---|---|---|
Contribution typecontributionType | enum | Defines whether the original value should be used or if a transformation set should be used to override a value or transform it. The element has these enums
| Required |
Value overridevalueOverride | valueOverride | The value to be used instead of the detected value. | Required |
Segments to copy from URL pathsegmentCount | integer | The number of segments of the URL to be kept. The URL is divided by slashes (/), the indexing starts with 1 at context root. For example, if you specify 2 for the | Required |
Transformationstransformations | reducedTransformation[] | Choose how to transform a value before it contributes to the Service Id. Note that all of the Transformations are always applied. Transformations are applied in the order they are specified, and the output of the previous transformation is the input for the next one. The resulting value contributes to the Service Id and can be found on the Service overview page under Properties and tags. | Required |
valueOverride object| Property | Type | Description | Required |
|---|---|---|---|
Valuevalue | text | The value to be used instead of the detected value. | Required |
transformation object| Property | Type | Description | Required |
|---|---|---|---|
Transformation typetransformationType | enum | Defines what kind of transformation will be applied on the original value. The element has these enums
| Required |
prefixprefix | text | The part of the text that serves as a reference point for the transformation. Its use depends on the transformation type. | Optional |
suffixsuffix | text | The part of the text that serves as a reference point for the transformation. Its use depends on the transformation type. | Optional |
replacementreplacementValue | text | The text that replaces the part between | Optional |
split bysplitDelimiter | text | The delimiter used for splitting the text. It is used only when the transformation type is | Optional |
select indexselectIndex | integer | The index of the element to keep after splitting. The index is zero-based. It is used only when the transformation type is | Required |
min digit countminDigitCount | integer | The minimum number of digits that a numeric sequence must have to be removed. It is used only when the transformation type is | Required |
include hexadecimal numbersincludeHexNumbers | boolean | Whether to also remove hexadecimal numbers (sequences of at least | Required |
segment countsegmentCount | integer | How many segments should be taken. | Required |
take from endtakeFromEnd | boolean | Whether to take segments from the end of the text instead of the beginning. It is used only when the transformation type is | Required |
reducedTransformation object| Property | Type | Description | Required |
|---|---|---|---|
Transformation TypetransformationType | enum | Defines what kind of transformation will be applied on the original value. The element has these enums
| Required |
prefixprefix | text | The part of the text that serves as a reference point for the transformation. Its use depends on the transformation type. | Optional |
suffixsuffix | text | The part of the text that serves as a reference point for the transformation. Its use depends on the transformation type. | Optional |
replacementreplacementValue | text | The text that replaces the part between | Optional |
min digit countminDigitCount | integer | The minimum number of digits that a numeric sequence must have to be removed. It is used only when the transformation type is | Required |
include hexadecimal numbersincludeHexNumbers | boolean | Whether to also remove hexadecimal numbers (sequences of at least | Required |