All Apps and Add-ons

Splunk Support for Active Directory: How can I used this ldapsearch to find when a workstation admin has logged in?

Mitchellsch
Explorer
| ldapsearch domain=ICCU search="(&(objectclass=user)(!(objectClass=computer)))" | search memberOf="*workstation admins*" |table memberOf, sAMAccountName, displayName

Using this search, how can I find when a workstation admin has logged in? This search will show me the admins I'm looking for, but I want to see when they log in. Any help?

0 Karma

javiergn
Super Champion

You have to bring your Security event logs from both your workstation and your domain controllers if you want to do that.
You need at least your security event logs from your workstation, but having the ones from Domain Controller will enrich your data.

Take a look at the following links:

http://docs.splunk.com/Documentation/Splunk/6.3.3/Data/MonitorWindowseventlogdata
https://answers.splunk.com/answers/351486/windows-ad-2008-user-logon-logoff-in-single-page.html
https://answers.splunk.com/answers/187217/monitoring-logons-of-domain-users-eventcode-4624.html

The Windows Infra app might also help:

https://splunkbase.splunk.com/app/1680/

0 Karma
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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...