• Home
  • 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)

OneAgent automatically discovers new log files for important processes on supported platforms. Auto-detected logs are listed on the Process Group Instance or Host screen.

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
accept-binaryAccept binary contentboolean-optional
valuesLog sourceset

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

required