16 Dec 2024 10:31 AM - last edited on 17 Dec 2024 07:56 AM by MaciejNeumann
Hi,
I have created a Processing rule to save the the last column of a log entry as a variable "QueueLength" and saved it as a 'Custom Attribute'.
How to set an alert to notify me when my Custom Attribute is above, say, 10
The below query in Event Extraction did not work:
matchesValue(log.source, "/path/source.log") and QueueLength>10
Solved! Go to Solution.
16 Dec 2024 10:56 AM
You should create a metric, and then you can define an event based on that metric.
https://docs.dynatrace.com/docs/analyze-explore-automate/logs/lma-analysis/lma-log-metrics
17 Dec 2024 08:28 AM - edited 17 Dec 2024 08:28 AM
In addition to provided guidance by @PacoPorro
PFA resources:
Advanced use case:
Hoping it helps.
KR,
Peter
17 Dec 2024 08:53 AM
Thanks for these documents guys.
This link you shared:
https://docs.dynatrace.com/docs/shortlink/lma-e2e-create-anomaly-detection-metric
has helped us
19 Dec 2024 10:40 AM
Glad to hear you have sorted it out 😉 😊