Splunk Search

Splunk Join help

splunker9999
Path Finder

Hi, We are looking to join INDICATOR VALUE from lookup table to the search and needs to find out if a value is same.

Below is sample query I am currently doing:

 |inputlookup IOC.csv
|eval INDICATOR_VALUE=replace(INDICATOR_VALUE,"[\[\]]","")
|fields INDICATOR_VALUE
|join type=left INDICATOR_VALUE[search index=bank_nagw_preprod sourcetype=access_log clientip=*
|dedup clientip
|table clientip
|rename clientip as INDICATOR_VALUE
|fields INDICATOR_VALUE]

Thanks

Tags (1)
0 Karma

Raschko
Communicator

Doesn't the following search already delivers what you want?

search index=bank_nagw_preprod sourcetype=access_log
[ | inputlookup IOC.csv | eval INDICATOR_VALUE=replace(INDICATOR_VALUE,"[\[\]]","") |fields INDICATOR_VALUE | rename INDICATOR_VALUE AS clientip ]

Raschko
Communicator

Without using "join".

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...