Splunk Search

Is it possible to use the join command to join data from an index with a lookup table?

stefanstolk1987
New Member

Hello,

I want to know if it is possible to use a join command with inputlookup instead of a lookup to join data between an index and a lookup table.

Example;

Index=firewalls |join type=inner overwrite=false dstip [inputlookup maliciousIP.csv] |stats count  srcip by dstip, malwareName
| join type overwrite=false srcip [inputlookup UserIP.csv]  |table count, dstip, malwareName, srcip, username,

The UserIP.csv is generated every hour after this the search will run.
Fyi this is not the exact search, but just an example. The reason I want to use join instead of lookup is that the lookup list has many additional columns and I want to keep the search as simple and short as possible and want to get some input to see how others handle this..

Hope to get some ideas from this.

0 Karma

cmerriman
Super Champion

I have a search where I do this. Mine looks something like

...|join type=left field [ |inputlookup lookup.csv]...
0 Karma
Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...