Splunk Search

Trying to use subsearch to filter records

joesrepsol
Path Finder

Looking at event data to run some eval commands... specifically on records with any "Status" value. Then once I get those events eval's done and narrowed down, I want to only see the events with Status!=Closed.

So how can I look at ALL events at the front-end of the query, then filter down to a specific xxx=yyy at the back-half of the query?

Mind has melted... ha

thanks!

joe

Tags (1)
0 Karma

woodcock
Esteemed Legend

Records with any value for field Status:

index="foo" sourcetype="bar" Status="*"

Then add this to limit to certain ones:

| search Status!="Closed"
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...