Can I set up an alert based on a sum


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


@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!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...