v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
transformationRuleManagement

Get a transformation rule.

Get a transformation rule with the given identifier.

get/v1/transformationRules/{id}

Path parameters

idstring required

Identifier of transformation rule to return.

Response

Transformation rule object that was requested.

enabledboolean required

True if the rule is enabled.

createdAtstring date-time required

Creation timestamp in UTC in RFC3339 format.

createdBystring required

Identifier of the user who created the resource.

modifiedAtstring date-time required

Last modification timestamp in UTC.

modifiedBystring required

Identifier of the user who last modified the resource.

idstring required

Unique identifier for the transformation rule.

Example response

{
  "ruleDefinition": {
    "name": "Transformation Rule 1",
    "selector": "_sourceCategory=metricsstore",
    "dimensionTransformations": [
      {
        "transformationType": "AggregateOnTransformation",
        "aggregateOn": [
          "metric"
        ]
      },
      {
        "transformationType": "AddOrReplaceTransformation",
        "dimensionToReplace": "metric",
        "value": "{{metric}}_aggregated"
      }
    ],
    "transformedMetricsRetention": 8,
    "retention": 8
  },
  "enabled": true,
  "createdAt": "2018-10-16T09:10:00Z",
  "createdBy": "0000000006743FDD",
  "modifiedAt": "2018-10-16T09:10:00Z",
  "modifiedBy": "0000000006743FE8"
}