Getting Data In

What conf files must I update to change the 50000 limit for external scripts?

andrewtrobec
Motivator

Hello,

I currently have an external python script that is called by my search to manipulate data. Everything works except I've noticed that the Statistics tab is limiting the number of results to 50000. I've found a number of threads that address limits of 50000, but none that will help to raise the upper limit for script calls.

I've tried to add a [default] stanza to my local commands.conf where i set maxinputs = 0, but that has had no effect.

Could someone help me understand which conf files I need to update?

Thank you!

Andrew

Tags (1)
0 Karma
1 Solution

493669
Super Champion

Hi @andrewtrobec,
Have you tried to to add this in limits.conf present at $SPLUNK_HOME/etc/system/local/

[searchresults] 
maxresultrows = 100000
[stats]
maxresultrows = 100000
[top]
maxresultrows = 100000

View solution in original post

493669
Super Champion

Hi @andrewtrobec,
Have you tried to to add this in limits.conf present at $SPLUNK_HOME/etc/system/local/

[searchresults] 
maxresultrows = 100000
[stats]
maxresultrows = 100000
[top]
maxresultrows = 100000

andrewtrobec
Motivator

This did the trick!

Also, for reference I had to update commands.conf in $SPLUNK_HOME/etc/apps/<app_name>/local to:

[default]
maxinputs = 0
maxresultrows = 100000

Regards,

Andrew

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...