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!

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...