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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

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 ...