Splunk Enterprise Security

Not sure how to go about my search

mlozano09
Engager

sorry I am fairly new to Splunk and not sure how to go about getting my search to work so I apologize if I am using the wrong terms.

I have imported a csv file, what I want to accomplish is in imported csv file I have a field that I want to match with another search
so if any other log matches with the csv field I want it to show me what matched

I was thinking something like

index=bob sourcetype=scanner
| join type=inner [| lookup csvfile]
| table myresults

0 Karma

aberkow
Builder
index=bob sourcetype=scanner [ |inputlookup csvfile | table field1]
|table myresults

Should do the trick. This is basically saying | search IN fieldList, or a typical IN clause in other languages. There are a bunch of other ways to do this if you're later in your search, but for the initial search clause this is a good option.

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...