I want Data Table of user's Login time , Logout time and Total time a user Logged in .
Apart from that I want to show the reason why the user Logged off . whether it is disconnected or logged off.
I didn't see any event_id:4779 in the logs and event viewer of Window Server ( even if I have disconnected the session forcefully by killing the process ).
Please help me to resolve this issue. I would be very grateful to ELK Team .
There are probably a few ways to accomplish it. None of them are trivial. I've done something similar where a user wanted to identify periods of user logon inactivity that were greater than 30 days. For this we did a query for successful logon events, then used a terms aggregation on the username field to create buckets of logon events that were specific to a single user, then we used a scripted_metric to calculate the time between events.
You could do something similar. And you don't need watcher to test out the queries and aggregations. You'll want watcher to automate the process for you after you have the query working.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.