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 Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...