Alerting

Can I set up an alert based on a sum

adamfrisbee
Explorer

I'd like to set up an alert based on whether the sum of a column is greater than a certain value. I have this

<search> | stats sum(visitors)

Which returns the sum of visitors as a single value. Can I set up an alert that triggers when the sum of visitors is greater than 50?

Tags (1)
0 Karma

niketn
Legend

@adamfrisbee you can use Alert Trigger Condition to fire alert when threshold is breached.

search sum(visitors) > 50
____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...