Skip to main content
GET
/
api
/
v1
/
config
/
mapping-rules
/
{slug}
cURL
curl --request GET \
  --url https://tenant.chronosphere.io/api/v1/config/mapping-rules/{slug} \
  --header 'API-Token: <api-key>'
{
  "mapping_rule": {
    "filters": [
      {
        "name": "job",
        "value_glob": "myservice*"
      }
    ],
    "name": "<string>",
    "aggregation_policy": {
      "aggregation": "LAST",
      "drop_timestamp": true,
      "interval": "<string>",
      "storage_policy": {
        "resolution": "<string>",
        "retention": "<string>"
      }
    },
    "bucket_slug": "<string>",
    "created_at": "2023-11-07T05:31:56Z",
    "drop": true,
    "mode": "ENABLED",
    "slug": "<string>",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Authorizations

API-Token
string
header
required

Chronosphere API token

Path Parameters

slug
string
required

Response

A successful response.

mapping_rule
object