Splunk Search

Results of Saved Search included in email but since 4.1.6. gets cut off

tpaulsen
Contributor

In Splunk 4.1.4 we had a scheduled search running that delivered hourly a Top 1000 result list via email + RSS feed. Yesterday we patched the system to Splunk 4.1.6 and the results are cut off after 100 entries. What has changed and how can we fix it, that we again get 1000 results instead of only 100?

0 Karma
1 Solution

jrodman
Splunk Employee
Splunk Employee

What changed: we fixed a bug, SPL-33782, that the maxresults constraint in the email sending logic wasn't working.

You can set this globally within local/alert_actions.conf, or (probabaly preferable) your specific saved search with, eg actions.email.maxresults = 10000 . Brief digging doesn't tell me if 0 makes this unlimited 😞

View solution in original post

jrodman
Splunk Employee
Splunk Employee

What changed: we fixed a bug, SPL-33782, that the maxresults constraint in the email sending logic wasn't working.

You can set this globally within local/alert_actions.conf, or (probabaly preferable) your specific saved search with, eg actions.email.maxresults = 10000 . Brief digging doesn't tell me if 0 makes this unlimited 😞

tpaulsen
Contributor

Super, thanks a lot! I put actions.email.maxresults = 0 in the savedsearches.conf at the specific scheduled search and it works like a charm. What can i say...:

Splunk> All batbelt. No tights.

😉

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