Splunk Search

Throttle Saved Search returns 1 email istead of 70

bsizemore
Path Finder

I may have found a bug with Saved Searches and Report. I am using Splunk 6.0.3 on *nix, and have created these saved searches from the Web GUI. First the case where it works:

CASE 1

index=something host=something* | dedup host | table host

The query above returns a neat little table with the expect six different hostnames, and one individual emails are sent for each hostname. The schedule checks once a minute. The throttle allows one alert every five minutes. Within ten minutes I received the expected total of twelve emails. The data was unique in each email.

CASE 2

index=something host=something* collection="LogicalDisk" counter="% Free Space" instance="C:" Value<40
| dedup host
| multikv fields host instance Value
| eval pcnt_free=(0.00 + tonumber(rtrim(Value,"%")))
| table host instance pcnt_free
| rename host as Host instance as Drive pcnt_free as "Percent Free"

Using the same schedule above, I recieve only two emails.

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Your second query doesn't have a host field, you renamed it to Host - as a result, your throttle field is null every time and correctly suppresses all but one mail per five minutes.

View solution in original post

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Your second query doesn't have a host field, you renamed it to Host - as a result, your throttle field is null every time and correctly suppresses all but one mail per five minutes.

0 Karma

bsizemore
Path Finder

Many thanks. That is, of course, the correct thing to do.

0 Karma

bsizemore
Path Finder

we are throttling on host

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Are you throttling based on host or Host?

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