Getting Data In

Can we limit how many results are output to a CSV in a scheduled search?

russell120
Communicator

Hi,

I have 2 scheduled searches that run each morning. When I run them manually, 60k results are returned and output to their own CSV. When they run on their own each morning (according to the specifed time), exactly 50,000 results are returned and output to their CSVs.

Where should I look to investigate and find the source of this issue?

0 Karma

woodcock
Esteemed Legend

As @pkeenan87 described, go to:

Select Settings -> Searches, reports, and alerts, search for your saved search, then select Edit -> Advanced edit -> search for dispatch.max_count and set it to 0 for unlimited.

pkeenan87
Communicator

You will need to modify the dispatch.max_count parameter in the savedsearches.conf stanza for your search. By default, its set to 50,000 according to the docs: https://docs.splunk.com/Documentation/Splunk/7.2.4/Admin/Savedsearchesconf

dispatch.max_count = <integer>
* The maximum number of results before finalizing the search.
* Defaults to 500000.

harsmarvania57
Ultra Champion
0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...