builtin:logmonitoring.custom-log-source-settings)
Add custom log sources before creating log ingest rule in case of:
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.
builtin:logmonitoring.custom-log-source-settings
group:log-monitoring
group:log-monitoring.ingest-and-processing
HOST
- HostKUBERNETES_CLUSTER
- Kubernetes clusterHOST_GROUP
- Host Groupenvironment
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.custom-log-source-settings |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.custom-log-source-settings | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.custom-log-source-settings |
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.
enabled
config-item-title
context
Define Custom Log Source only within context if provided
CustomLogSource
objecttype
LOG_PATH_PATTERN
WINDOWS_EVENT_LOG
accept-binary
values-and-enrichment
It might be either an absolute path to log(s) with optional wildcards or Windows Event Log name.
Context
objectattribute
dt.entity.process_group
values
CustomLogSourceWithEnrichment
objectpath
enrichment
Optional field that allows to define attributes that will enrich logs
${N} can be used in attribute value to expand the value matched by wildcards where N denotes the number of the wildcard the expand
Enrichment
objecttype
attribute
key
value