Data360 Analyze

 View Only
  • 1.  Data360 Analyze - View Active User Connections

    Posted 12-20-2021 10:01

    Is there a way to check if there are users connected to the application? 

    • Use Case: an IT administrator, would look to take the server offline, but before they do, they would like to confirm if any users are actively connected to the application so that the Admin may notify the user of the downtime, to give the user the opportunity to save their work before the server is taken offline.

    Data360 Analyze



  • 2.  RE: Data360 Analyze - View Active User Connections

    Employee
    Posted 12-22-2021 08:11

    As such there is no way to tell who is currently using the Application. But from Audit Trail we may guess who just logged in or log out.



  • 3.  RE: Data360 Analyze - View Active User Connections

    Employee
    Posted 01-05-2022 10:05

    The attached data flow is a little rough and ready but it may provide you with an indication of who is logged into the system. It parses the current day's audit log and selects the events with the two relevant auditCode values - 'authenticationSuccess' and 'sessionLogout'. 

    These events are combined, the required fields are selected and then the events are sorted by the timestamp value. An Aggregate node is then used to select the last event for each user. If the last auditCode value for the user is 'authenticationSuccess' then they may still be logged in.

    The information from this data flow may not reflect the actual state of the system in some circumstances:

    - If the user closes their browser tab rather than explicitly logging out of the system then no 'sessionLogout' event will be recorded by the system. However, it is not best practice to exit this way as it can cause other issues. If the user subsequently logs back in and then out again the events in the log will then correctly identify the user as being logged out.

    - If the user logged into the system in a previous day and has not logged out since, the log rotation mechanism will mean that the user's 'authenticationSuccess' event will have been recorded in a previous audit log file (which will have a filename with the date appended e.g. 'lae-audit.log.2022-01-04') and will not appear in today's 'lae-audit.log' file.

    Note: This data flow is not covered by our Support Policy and, for the above reasons, your mileage may vary.

     



  • 4.  RE: Data360 Analyze - View Active User Connections

    Employee
    Posted 01-05-2022 10:11

    Here is the link to a separate post that has the data flow attached. Unfortunately, it is not possible to attach a file to a reply on a post.