Splunk Search

List of users accessing activesync

jennjoe1
Explorer

index=exchange sourcetype=uag trunk="activesync2010" user="*" *returns a list of active sync users in the last timeframe

I have a lookup table list of watched users

| lookup VIP_mail.csv

If the user in the VIP lookup table also has active usage logs than I want the logs for all users in the table

index=exchange sourcetype=uag trunk="activesync2010" user="*" | lookup VIP_mail.csv "User ID" as USERID | where user=USERID

the match should be true if user ID's match

0 Karma
1 Solution

DalJeanis
Legend

Try this

index=exchange sourcetype=uag trunk="activesync2010" user="*" 
| lookup VIP_mail.csv "User ID" as user OUTPUT "User ID"  as USERID 
| where isnotnull(USERID)

View solution in original post

DalJeanis
Legend

Try this

index=exchange sourcetype=uag trunk="activesync2010" user="*" 
| lookup VIP_mail.csv "User ID" as user OUTPUT "User ID"  as USERID 
| where isnotnull(USERID)

jennjoe1
Explorer

Perfect 🙂

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...