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
Revered Legend

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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...