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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

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 ...