Splunk Search

How can I report on userid's that are on event file but not CSV Lookup?

cxfuent29
New Member

I am using a lookup csv file.

events have userid and CSV file has userid.

Some of the event file userid's are not on CSV file (timing issue)

The output produces event count by userid.

I need to report on userid's that are on event file but not CSV,

Thanks ahead

0 Karma

elliotproebstel
Champion

Try appending this to your current search (but replace my_lookup.csv with the name of your actual lookup file):

| search NOT 
 [| inputlookup my_lookup.csv 
 | fields userid ]
0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...