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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...