Settings API - Log events schema table
Log events (builtin:logmonitoring.log-events)
Configure log patterns that trigger events for alerting and Davis® analysis. Note that log event detection consumes Davis® data units
Schema ID
Schema groups
Scope
builtin:logmonitoring.log-events
group:log-monitoring.analysis
group:log-monitoring
environment
GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.log-events |
SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:logmonitoring.log-events | |
Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:logmonitoring.log-events |
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
Summary
summary
text
The textual summary of the log event entry
required
Matcher
query
text
-
required
The EventTemplate
object
Property
Type
Description
Required
Title
title
text
The title of the event to trigger. Type '{' for placeholder hints.
required
Description
description
text
The description of the event to trigger. Type '{' for placeholder hints.
required
Event type
eventType
enum
The event type to trigger.
INFO
ERROR
AVAILABILITY
SLOWDOWN
RESOURCE
CUSTOM_ALERT
CUSTOM_ANNOTATION
CUSTOM_CONFIGURATION
CUSTOM_DEPLOYMENT
MARKED_FOR_TERMINATION
required
Allow merge
davisMerge
boolean
Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created.
required
Properties
metadata
Set<MetadataItem>
Set of additional key-value properties to be attached to the triggered event.
required
The MetadataItem
object
Property
Type
Description
Required
Key
metadataKey
text
Type 'dt.' for key hints.
required
Value
metadataValue
text
Type '{' for placeholder hints.
required