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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...