• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Log custom attributes

Settings 2.0 - Log custom attributes schema

Log custom attributes (builtin:logmonitoring.log-custom-attributes)

Dynatrace log monitoring gives you the ability to define custom attributes for log data that is ingested. Custom log attributes are extracted from the log data during log data ingestion and become available within Dynatrace. You can use these attributes as filters in the log viewer, as dimensions while creating log metrics, and as properties while creating log events.

Learn more by visiting our documentation.

Schema IDSchema groupsScope
builtin:logmonitoring.log-custom-attributes
  • 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-custom-attributes
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.log-custom-attributes
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.log-custom-attributes

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
keyKeytext

The attribute key is case insensitive in log data ingestion.

required
aggregableAttributeShow attribute values in side barboolean

Change applies only to newly ingested log events. Any log events ingested before this option was toggled on will not be searchable by this attribute.

required