Alerting

How to enable an anomaly detection whenever there is a change in value of a field?

simon21
Path Finder

I have a field called capacity. I want to enable anomaly detection whenever there is a change in value of capacity (increments or decrements). So, if capacity value for a source "A" is "10" at 7th dec 14:40pm, and at 7th Dec 15:15pm, the capacity of source "A" is "12", then i want to be notified via an alert. Please help. Thanks!

0 Karma

sundareshr
Legend

I believe what you need is anomalousvalue. Try this, set your alert to trigger if count>0

base search | anomalousvalue capacity action=filter
0 Karma
Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...