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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...