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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...