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!

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

Cisco Use Cases, ITSI Best Practices, and More New Articles from Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...