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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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