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 |
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.
| 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 |
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. The element has these enums
| 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. You can retrieve the available property keys using the Events API v2. | Required |
MetadataItem object| Property | Type | Description | Required |
|---|---|---|---|
KeymetadataKey | text | Type 'dt.' for key hints. | Required |
ValuemetadataValue | text | Type '{' for placeholder hints. | Required |