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!

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 ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...