Disk events anomaly detection API - GET an event

Gets the parameters of the specified disk event rule.

The request produces an application/json payload.

This request is an early adopter release and may be changed in non compatible way.

  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/anomalyDetection/diskEvents/{id}
  • SaaS https://{your-environment-id}.live.dynatrace.com/api/config/v1/anomalyDetection/diskEvents/{id}


Parameter Type Description In Required
id string

The ID of the required disk event rule.

path required

Response format

The DiskEventAnomalyDetectionConfig object

Element Type Description
metadata ConfigurationMetadata

Metadata useful for debugging.

id string

The ID of the disk event rule.

name string

The name of the disk event rule.

enabled boolean

Disk event rule enabled/disabled.

metric string

The metric to monitor.

threshold number

The threshold to trigger disk event.

  • A percentage for LowDiskSpace or LowInodes metrics.
  • In milliseconds for ReadTimeExceeding or WriteTimeExceeding metrics.
samples integer

The number of samples to evaluate.

violatingSamples integer

The number of samples that must violate the threshold to trigger an event. Must not exceed the number of evaluated samples.

diskNameFilter DiskNameFilter

Narrows the rule usage down to disks, matching the specified criteria.

tagFilters TagFilter[]

Narrows the rule usage down to the hosts matching the specified tags.

The TagFilter object

A common filter for tags on entities.

Element Type Description
context string

The tag origin (such as AWS or Cloud Foundry), which is the first part of the unique key of the tag (the second part is key).

key string

The tag key, which is the second part of the unique key of the tag (the first part is context).

value string

The value of the tag. Not applicable to custom tags.

The DiskNameFilter object

Narrows the rule usage down to disks, matching the specified criteria.

Element Type Description
operator string

Comparison operator.

value string

Value to compare to.

The ConfigurationMetadata object

Metadata useful for debugging

Element Type Description
configurationVersions integer[]

A Sorted list of the version numbers of the configuration.

clusterVersion string

Dynatrace server version.


In this example, the request lists the parameters of the low disk custom disk event rule.

The API token is passed in the Authorization header.

The rule has the following parameters:

Custom disk events rule


curl -X GET \
  https://mySampleEnv.live.dynatrace.com/api/config/v1/anomalyDetection/diskEvents/3f7b8234-95dc-44d0-9c1b-a5f0e8e19fd0 \
  -H 'Authorization: Api-token abcdefjhij1234567890'

Request URL


Response body

  "metadata": {
    "clusterVersion": "",
    "configurationVersions": [
  "id": "3f7b8234-95dc-44d0-9c1b-a5f0e8e19fd0",
  "name": "low disk",
  "enabled": true,
  "metric": "LOW_DISK_SPACE",
  "threshold": 2,
  "samples": 5,
  "violatingSamples": 3,
  "diskNameFilter": null,
  "tagFilters": []

Response code