Reporting

CSV max results to email?

btshivanand
Path Finder

i have max results of 300000 in a report.But my shc is failing to send csv in a email. Please find the below settings.I tride to changed them to 300000 still its not working. Also i restarted after the change,

Fyi:the report containing lesser then 175000 they are working perfectly fine.

Can some one help me with this?

$SPLUNK_HOME/etc/system/local/limits.conf

[scheduler]

max_action_results = 175000

 

[searchresults]

maxresultrows = 175000

 

$SPLUNK_HOME/etc/system/local/alert_actions.conf

 

[default]

maxresults = 175000

Labels (1)
0 Karma

codebuilder
Influencer

You're on the right track with maxresults in alert_actions.conf but also need to update savedsearches.conf. You can control results there per search, or globally using [default].

savedsearches.conf
action.email.maxresults = <integer>
* Set the maximum number of results to be emailed.
* Any alert-level results threshold greater than this number will be capped at
this level.
* This value affects all methods of result inclusion by email alert: inline,
CSV and PDF.
* Note that this setting is affected globally by "maxresults" in the [email]
stanza of alert_actions.conf.
* Defaults to 10000

----
An upvote would be appreciated and Accept Solution if it helps!
0 Karma

isoutamo
SplunkTrust
SplunkTrust
Are you sure that all mail server can deliver that amount of data? You can check from internal logs if 1st smtp server take it in, but not for the rest.
r. Ismo
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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