Settings API - Log metrics schema table

Log metrics (builtin:logmonitoring.schemaless-log-metric)

With log metrics, you can use queries to create metrics from logs data for dashboarding, analysis, and custom alerting. Log metrics consume Davis® data units.

Note that newly-defined log metrics are available only for log data ingested after metric creation.

Schema ID
Schema groups
Scope
builtin:logmonitoring.schemaless-log-metric
  • group:log-monitoring.analysis
  • group:log-monitoring
environment
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.schemaless-log-metric
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.schemaless-log-metric
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.schemaless-log-metric

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

Property
Type
Description
Required
Enabled
enabled
boolean
-
required
Metric key
key
text
-
required
Matcher
query
text
-
required
Metric measurement
measure
enum
  • OCCURRENCE
  • ATTRIBUTE
required
Attribute
measureAttribute
text
-
required
Dimensions
dimensions
set

To enable splitting on your metric, add desired dimensions.

You can select a dimension name from the list or set it to any value. To extract fields from logs, you can use log processing (<your-dynatrace-url>/builtin:logmonitoring.log-dpp-rules).

required