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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...