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!

Technical Workshop Series: Splunk Data Management and SPL2 | Register here!

Hey, Splunk Community! Ready to take your data management skills to the next level? Join us for a 3-part ...

Spotting Financial Fraud in the Haystack: A Guide to Behavioral Analytics with Splunk

In today's digital financial ecosystem, security teams face an unprecedented challenge. The sheer volume of ...

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability

Solve Problems Faster with New, Smarter AI and Integrations in Splunk Observability As businesses scale ...