Splunk Search

Dispatch limited to 10000 when outputting a CSV via Python

BrendanMcE
Path Finder

If dispatch is used via Python rather than any saved search for a query and that query uses outputcsv the results are limited to 10000 rows. The query includes a stats section.

How can the number of rows output from dispatch be increased in the CSV without effecting the GUI.

Tags (2)
1 Solution

sumnerm
Path Finder

If you're dispatching directly through Python, there should be no limits, however there may be hidden limits depending on the search terms used.

Have a look at your search query string and see if it contains any terms which may contain any limits - for example is you pipe to sort this will be default be limited to 10000 rows regardless of how the search is run (the behaviour can then be changed within the query).

View solution in original post

0 Karma

sumnerm
Path Finder

If you're dispatching directly through Python, there should be no limits, however there may be hidden limits depending on the search terms used.

Have a look at your search query string and see if it contains any terms which may contain any limits - for example is you pipe to sort this will be default be limited to 10000 rows regardless of how the search is run (the behaviour can then be changed within the query).

0 Karma
Get Updates on the Splunk Community!

Build Scalable Security While Moving to Cloud - Guide From Clayton Homes

 Clayton Homes faced the increased challenge of strengthening their security posture as they went through ...

Mission Control | Explore the latest release of Splunk Mission Control (2.3)

We’re happy to announce the release of Mission Control 2.3 which includes several new and exciting features ...

Cloud Platform | Migrating your Splunk Cloud deployment to Python 3.7

Python 2.7, the last release of Python 2, reached End of Life back on January 1, 2020. As part of our larger ...