Splunk Search

Does the multisearch command have a limit like subsearch?

Masa
Splunk Employee
Splunk Employee

I'm curious about the limit of the multisearch command.

subsearch has limits in limits.conf.
Is there any limit for each search clause in the multisearch command like subsearch?

1 Solution

cpride_splunk
Splunk Employee
Splunk Employee

multisearch doesn't have the same type of limits as subsearches as it operates in a very different way. A "subsearch" generally runs during the parse phase of the search and has to finish and return results before the parse finishes. multisearch is a generating search command that will get distributed to the index layer and it alternates between the specified searches returning one packet of results at a time from each search. (There is some variance of the ordering here depending on if the search believes it is order dependent.) The main limitations of multisearch is that it requires that the searches be entirely distributable/streamable given that it is itself distributed.

View solution in original post

cpride_splunk
Splunk Employee
Splunk Employee

multisearch doesn't have the same type of limits as subsearches as it operates in a very different way. A "subsearch" generally runs during the parse phase of the search and has to finish and return results before the parse finishes. multisearch is a generating search command that will get distributed to the index layer and it alternates between the specified searches returning one packet of results at a time from each search. (There is some variance of the ordering here depending on if the search believes it is order dependent.) The main limitations of multisearch is that it requires that the searches be entirely distributable/streamable given that it is itself distributed.

Masa
Splunk Employee
Splunk Employee

Super! Thanks, Chris.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...