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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...