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

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

You should create a metric, and then you can define an event based on that metric.

Hi @vishnu_kumar

In addition to provided guidance by @PacoPorro

PFA resources:

Advanced use case:

Hoping it helps.

KR,

Peter

Thanks for these documents guys.

This link you shared:

has helped us

Hi @vishnu_kumar

Glad to hear you have sorted it out :wink: :blush: