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!

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...