Splunk Search

Is there a sub search limit in a single search?

cresposh
Explorer

The subject states the question.... is there a limit on how many sub search I can use within a single query.

While doing queries, as an example:

index="MyIndex" source="MySource" computerName=*
| append [ search index="MyOtherIndex" source="MyOtherSource" computerName=*
| table computerName

Everything works as expected up to here

If I add another | append, the search just keeps on parsing search. No results, no errors.

The time preset does not seem to be an issue, I have used from 5 minutes up to 30 minutes where I can confirm there is a result for queries individually.

0 Karma

to4kawa
Ultra Champion

Additionally, by default subsearches return a maximum of 10,000 results and have a maximum runtime of 60 seconds. In large production environments it is quite possible that the subsearch in this example will timeout before it completes.

about subseach

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...