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 |
| 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 |
---|---|---|---|
Enabledenabled | boolean | - | required |
Summarysummary | text | The textual summary of the log event entry | required |
Matcherquery | text | - | required |
Event templateeventTemplate | EventTemplate | - | required |
The EventTemplate
object
Property | Type | Description | Required |
---|---|---|---|
Titletitle | text | The title of the event to trigger. Type '{' for placeholder hints. | required |
Descriptiondescription | text | The description of the event to trigger. Type '{' for placeholder hints. | required |
Event typeeventType | enum | The event type to trigger.
| required |
Allow mergedavisMerge | boolean | Davis® AI will try to merge this event into existing problems, otherwise a new problem will always be created. | required |
Propertiesmetadata | Set<MetadataItem> | Set of additional key-value properties to be attached to the triggered event. | required |
The MetadataItem
object
Property | Type | Description | Required |
---|---|---|---|
KeymetadataKey | text | Type 'dt.' for key hints. | required |
ValuemetadataValue | text | Type '{' for placeholder hints. | required |