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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...