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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...