Splunk Search

How to search and report when a user logs in and out from a keyboard 'Login Type 2'?

kevind5
New Member

I need to search my index to determine when a user physically logs on to our network. Event 4624 queries result in all logon events mainly Type 3. I need to report when 'Joe' sat down and logged in and when 'joe' logs out from his workstation Logon Type 2. Thanks

0 Karma

DalJeanis
Legend

Just do this in verbose mode

index=foo EventID=4624 | head 5

Look at the events, and find the name of the extracted field that contains the Logon Type. Add it to your query.

(On my system, I'd just add EventID=4624 Logon_Type=2 to the query. )

0 Karma
Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...