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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...