Alerting

throttling fields

Michael
Contributor

I've used throttling in the past, but this feature must be new from one of the updates. It was simple before "don't trigger again after x time", period. But now it's asking for "Per result throttling fields" -- and I have not idea what that's asking for. Searching for it here results in tons of information on how to set alerts, and throttling, but doesn't say what this is...and it's apparently important as it won't let me use throttling without it!

I have a simple search:
source="/var/log/processes.log" | stats count as processes.log | search count < 10

My alert will trigger if this is true (number of events is greater than one). I want to run this every hour, but if a process is down, I don't want to come in on a Monday morning to 48 emails -- one a day will do. So I set the throttling to not trigger again for 24 hours. BUT, I don't know what a "throttling field" is.

Please enlighten!

Tags (1)

linu1988
Champion

I am not sure about the search . But processes.log will become your throttling field name. As once you receive it you don't want to get an alert until next 24 horus.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

I think you can specify a dummy field name - that will always be null. As a result, it won't trigger again for that time.

The idea is for example to have a host field and only be silent for hosts that have triggered in the past day but still throw an alert for a new host.

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Has your issue been solved?

0 Karma

Michael
Contributor

Thank you! I tried that before and it didn't work -- but after simplifying the alert to a simple check for the number of events being less than 10 (and taking out the "stats count..." and "search count..." cruft) it seems to be working dandy...

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...