• Home
  • Dynatrace API
  • Environment
  • Settings
  • Schemas
  • Custom log source configuration

Settings API - Custom log source configuration schema table

Custom log source configuration (builtin:logmonitoring.custom-log-source-settings)

Manually provided log sources which have not been auto-detected. For more details and examples, see documentation

Custom log sources are provided to OneAgent.

Schema IDSchema groupsScope
builtin:logmonitoring.custom-log-source-settings
  • group:log-monitoring
  • group:log-monitoring.ingest-and-processing
HOST - Host
HOST_GROUP - Host Group
environment
Retrieve schema via Settings API
GETManagedhttps://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.custom-log-source-settings
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.custom-log-source-settings
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.custom-log-source-settings

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
enabledActiveboolean-required
config-item-titleNametext-required
custom-log-source-CustomLogSource-required
contextLog Source contextset

Define Custom Log Source only within context if provided

required

Request body objects

The Context object
PropertyLabelTypeDescriptionRequired
attributeAttributeenum-required
values-set-required
The CustomLogSource object
PropertyLabelTypeDescriptionRequired
typeLog Source typeenum-required
valuesLog sourceset

It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name.

required