Splunk Search

Subsearch - what is the scope of the outer search?

wang
Path Finder

When using subsearch, What is the scope of the outer search? Is the outer search executed against the result set of the inner search?

Tags (1)
0 Karma

ziegfried
Influencer

No, the outer search is executed. The subsearch only appends criteria to the outer search. You can look at the generated criteria by running your subsearch and appending | format

<your subsearch> | format
0 Karma
Get Updates on the Splunk Community!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

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