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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

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