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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...