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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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