Splunk Search

Is there a way to email more than 10K results

suhprano
Path Finder

sendemail command limits to 10k events. This number makes my automates search emails imcomplete. Is there anywhere I can change/raise this limit somewhere?

Tags (2)

dmaislin_splunk
Splunk Employee
Splunk Employee

You can change the limit by setting action.email.maxresults under the saved search's settings in savedsearches.conf.

0 Karma

kearaspoor
SplunkTrust
SplunkTrust

From the documentation it looks like this was only added in 6.0 Any chance it works in the 5.x verrsion and just wasn't documented? Or is this yet another reason to hurry our upgrade project along?

0 Karma

mcrawford44
Communicator

Looking for the same. 😕

0 Karma

koshyk
Super Champion

can you put the events into an html file (formatted as html) and send the html as attachment to the users?

0 Karma

kearaspoor
SplunkTrust
SplunkTrust

I'll try this but I'm fairly certain that it's not going to work because that limit was already set to 50,000 and all emails were being truncated at 10,000. I'll post again if it ends up working.

0 Karma

somesoni2
SplunkTrust
SplunkTrust

Try setting this to a higher number, in limits.conf

max_action_results =
* The maximum number of results to load when triggering an alert action.
* Defaults to 10000

0 Karma

kearaspoor
SplunkTrust
SplunkTrust

I'm trying to figure this out also. We work in an environment with >80,000 users and >100,000 endpoints so we regularly need to run automated reports that exceed the current 10,000 row limit. I'm not having any luck figuring out how to get around this and desperately need to.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...