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!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...