Dynatrace Log Management and Analytics gives you the ability to create log events based on log data and use them in problem detection.
Log event pricing is based on the Dynatrace Platform Subscription (DPS) model. For details, see Events powered by Grail overview (DPS).
When Dynatrace ingests log data, it applies the query specified in the log event definition. Every matched occurrence triggers a log event that can be configured to individually create a problem for each triggered log event or can be merged into one problem.
Go to
Settings > Process and contextualize > OpenPipeline > Logs.
Select the Pipelines tab.
Find or create the pipeline you want to modify, and select Edit.
Select the Davis tab and add a Davis event processor.
Enter the Name.
The name is a required field that identifies the Davis event processor.
In Matching condition, enter a DQL matcher to filter the log data for your log event.
For details, see DQL matcher in OpenPipeline.
Configure the Event template.
Add Event properties. Set the required event.type property (for example, CUSTOM_ALERT) and add any other event properties you need.
A property is a key/value pair that is set on every triggered event. You can have one or more placeholders as a value that will be extracted from the log data. For example, a property with Key set to dt.smartscape.source_id and a Value of placeholder {dt.smartscape.source_id} will extract the source ID value from log data once the event is triggered. If the placeholder substitution fails, both the key and the value will not be available.
The dt.event.allow_davis_merge property does not split problems for the same log event configuration. It only prevents merging with problems from other log event configurations or other problem domains (such as custom alerts).
If you want to split problems for the same log event configuration, the event.unique_identifier property must be present in the actual log data. You can then use a placeholder in your log event configuration to reference this property.
For example, to create a separate problem for each log line message, use event.unique_identifier={content}.
For details on the Davis event processor parameters, see Davis stage in OpenPipeline. For a guided walkthrough, see Set up alerts based on events extracted from logs.
Log events have a default timeout of 15 minutes. The timeout defines how frequently the event source must refresh the log event to keep it active. The maximum time allowed for a log event is six hours.
15 minutes).To set a custom timeout:
dt.event.timeout.12).To verify that a custom timeout was added for an event triggered on the host level:
Infrastructure & Operations > Compute > Hosts, and select the host name.Placeholders are log entry attributes that can be used to extract the actual value from the log data.
{dt.process.name}).