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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

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