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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...