Getting Data In
Highlighted

Noob:Inputlookup match Security ID fileds

New Member

Trying to use a CSV for inputlookup the username field should be SecurityID and there is only one column with the SecurityID in the CSV.

I just want my search results to show events that have the Security_IDs that are in the CSV. I'm a total noob so I'm very confused. Any assist would be greatly appreciated. I know this doesn't work below, but don't know why 🙂

| inputlookup departmentusers.csv
| fields Security_ID
| index="wineventlog" EventCode="4740" host="MyPDC"

Tags (2)
0 Karma
Highlighted

Re: Noob:Inputlookup match Security ID fileds

SplunkTrust
SplunkTrust

Search then apply a lookup

index="wineventlog" EventCode="4740" host="MyPDC" | lookup departmentusers.csv Security_ID OUTPUTNEW
0 Karma
Highlighted

Re: Noob:Inputlookup match Security ID fileds

SplunkTrust
SplunkTrust

Try like this

index="wineventlog" EventCode="4740" host="MyPDC" [| inputlookup departmentusers.csv | fields Security_ID]
0 Karma
Highlighted

Re: Noob:Inputlookup match Security ID fileds

New Member

This failed to work for me. States "Error in 'lookup' command: Could not construct lookup 'departmentusers.csv, Security_ID, OUTPUTNEW'. See search.log for more details."

Everything I've seen shows that the InputLookup has to be first so it's confusing to say the least.

0 Karma
Speak Up for Splunk Careers!

We want to better understand the impact Splunk experience and expertise has has on individuals' careers, and help highlight the growing demand for Splunk skills.