Splunk Search

How to append a search and filter by values based off a parent search

splkcurtis
New Member

I have a search for a dashboard and I'd like to filter it based on an IN search with results from parent search.
Is this possible?

| db "SELECT * FROM accounts" | append [| db SELECT * FROM accounts2 | search account_id NOT IN results_account_id]
0 Karma

woodcock
Esteemed Legend

Forget all of your SPL. Show the events in both data sets and a mockup of the desired output.

Get Updates on the Splunk Community!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...