Splunk Search

How to tell if two rows from different tables each are both an equal match?

minkyuk
Explorer

Hello Splunkitans,

If I am given a table of 5000 rows and a second "filter" table of 500 rows,
If I were to extract the matching 500 rows from the first table, how could I implement this ?

Since they both use [ |inputlookup all.csv ] and [|inputlookup filt.csv], could I somehow incorporate the where command?

I would appreciate any of your input!

Jack

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

This may do it:

| set intersect [| inputlookup_all.csv] [| inputlookup_filt.csv] | ...
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

This may do it:

| set intersect [| inputlookup_all.csv] [| inputlookup_filt.csv] | ...
---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...