Alerting

custom alert for specific range

sarkanth12
New Member
sourcetype="access_test" -------------- |
 eval AllenPercentage=(Allen_hits/Total_hits)*100 as AllenPercentage  |
eval RcdnPercentage=(Rcdn_hits/Total_hits)*100 as RcdnPercentage | 

I would like to set a custom alert if RcdnPercentage reaches to 80% and AllenPercentage reaches to 20%

Tags (2)
0 Karma

lguinn2
Legend

Add this to the end of your search:

| where RcdnPercentage  >= .8 AND AllenPercentage >= .2

Then set the Alter Condition to Number of Results > 0.
That should work

0 Karma
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...