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!

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...