• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Log buckets

Settings API - Log buckets schema table

Log buckets (builtin:logmonitoring.log-buckets-rules)

Logs in Dynatrace can be stored in different buckets. The first user-defined rule that matches will assign the bucket. If none matches, the default one will be used.

Schema IDSchema groupsScope
builtin:logmonitoring.log-buckets-rules
  • group:log-monitoring.analysis
  • group:log-monitoring
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.log-buckets-rules
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.log-buckets-rules
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.log-buckets-rules

Authentication

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.

Parameters

PropertyLabelTypeDescriptionRequired
enabledEnabledboolean-required
ruleNameRule nametext-required
bucketNameBuckettext

A 'bucket' is the length of time your logs will be stored. Select the bucket that's best for you.

required
matcherMatcher (DQL)text-required