Splunk Cloud Platform

Throttling not working on alert in Splunk Cloud

Splunkerninja
Path Finder

I have an alert which I am trying to throttle based on few fields from the alert on condition if it triggers once then it shouldn't trigger for next 3 days unless it has different results.

But the alert is running every 15 mins and I can see same results of the alert every 15 mins.

My alert is outputting the results to another index

Example:

blah blah
, ,  , , , 

, , , 

| collect index=testindex sourcetype=testsourcetype

Based on my research, I came across a post where it says 
Since a pipe command is still part of the search, throttling would have no effect o because the search hasn't completed yet and can't be throttled. I think this because the front end says After an alert is triggered, subsequent alerts will not be triggered until after the throttle period, but that doesn't say "they aren't run"

Is it the case? If so how can I stop updating the duplicate values in my index

Labels (2)
Tags (2)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Yes. I would understand it this way. The search will be run but the alert will not be triggered for the throttle period. So side efects of the search (outputlookup, sendemail, whatever) will be run on each search run

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Just about every Splunk query contains a pipe so I question the accuracy of the post you quoted.

My theory (and I can't find any documentation to support it) is the collect command does not return the field being throttled so the alert cannot be throttled.  The collect command is used to write results to an index and is used to populate summaries more than it is to trigger alerts.  I suggest having two searches - one to populate testindex and other other to read testindex and trigger the alert.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...