cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How do i create an alert for a Log Custom attribute value

vishnu_kumar
Participant

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

4 REPLIES 4

PacoPorro
Dynatrace Leader
Dynatrace Leader

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

PacoPorro_0-1734346558013.png

 

vishnu_kumar
Participant

Thanks for these documents guys.

This link you shared:
https://docs.dynatrace.com/docs/shortlink/lma-e2e-create-anomaly-detection-metric

has helped us

Hi @vishnu_kumar 

Glad to hear you have sorted it out 😉 😊

Featured Posts