| 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?
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: