Alerting

How to configure custom alert

someguy73
Explorer

I collect amount of prices every day and want to make custom alert, which will say to me that sum of prices changed more than 10%.
So I have fields PRC_TYP, "Reuters", BGN etc and SUMMA, where I calculate sum of current string
alt text

What should I write in filed Triggered Condition -> Custom -> "search ...." when cofigureted my alert?
How to connect field "SUMMA" with current date and a date before?
Please help 🙂

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Generally speaking, alerts are triggered from the content of the associated search. That is, if you didn't search for it, you can't alert on it.
You example search calculates a sum for the current time period. To test the 10% change, you have to perform the same calculation on the last time period's data (the timewrap app can help with that). Once you have both sums you can compute the difference and trigger an alert.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Generally speaking, alerts are triggered from the content of the associated search. That is, if you didn't search for it, you can't alert on it.
You example search calculates a sum for the current time period. To test the 10% change, you have to perform the same calculation on the last time period's data (the timewrap app can help with that). Once you have both sums you can compute the difference and trigger an alert.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...