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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...