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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...