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
Get Updates on the Splunk Community!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

 Ready to master Kubernetes and cloud monitoring like the pros? Join Splunk’s Growth Engineering team for an ...

Update Your SOAR Apps for Python 3.13: What Community Developers Need to Know

To Community SOAR App Developers - we're reaching out with an important update regarding Python 3.9's ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...