This articles describes the tools and functionality available for viewing different user activity statistics.

Last Login

Administrators can view the Last Login information for all user accounts on the Users tab in swadmin2. 


The user list can be sorted or filtered by Last Login, as well as exported if needed.



Logged On

Administrators can get a clear, real-time count of active connections and actively used licenses on the Logged on tab.



The tab is read-only and displays the following: 

Username: User name

Name: Name displayed in SystemWeaver

E-mail: Email address (optional)

Active: Account status

Connected: Displays the login time stamp for the specific user session (row). If the user keeps the session up, the time stamp will remain unchanged. If they log out and back in, it will update to the new login time stamp. If multiple sessions are active for the same user account, they will all share the same login time stamp.

IP: IP address from which the connection is made

Computer: Alias name for computer from which the connection is made

User: Computer system user name

Client: Client application used for connection
Connection: Provides additional information helpful for Administrators:

  • For connections that have been disabled due to multiple logins from different IP addresses, a "Disabled" message will display. The entry (row) and message will continue to display until the client is closed out (e.g., via the Logout button or Xing out of the client). 
  • If MIrror Servers are running, the Write channels will be identified in this column. 

Last call: indicates the last time the server received a call from the client.

Mirror: indicates a mirror server connection.

Open connections: Number of Tcp connections to the server. Note that if a mirror server(s) is running, the connections will be included in this count.

Active read/write licenses: Number of successful connections currently utilizing a read/write license

Active viewer licenses: Number of successful connections currently utilizing a read-only license


Clicking Refresh will update the page.


Unsuccessful Authentication Attempts

Connections that do not successfully log in have not authenticated. These connections may appear as shown below with only an IP address and no Last call time stamp. Typically, they will not remain displayed. To clear them, click Refresh. Alternatively, perform a server restart.


Statistics Log

Administrators can obtain additional statistics for specific user operations as well as login counts. The statistics are captured in a Statistics log file, if the Server Administrator has configured this option. To find out more about which operations are captured and how to visualize the statistics, see Working with the Statistics Log.


Example LoginCounts

In the below Logged on example, there are: 

  • 3 client sessions ("stacey.klein" logged in with swAdmin2 client, "jim.smith" logged in with swArchitect client, and "debby.clark" (read-only user) logged in with the swExplorer client to the mirror server
  • 1 mirror server with 1 read channel and 5 write channels

 

The above example in the statistics log: 


{ "time": "2023-03-08 10:18:23.4041", "event": { "type": "LoginCount", "count": "3", "licenseCount": "2", "viewerLicenseCount": "1" } }
  • "count" is the number of active connections excluding mirror server (in this case, 3 clients). When running a Notification Server, it is included in this count.
  • "licenseCount" is the number of concurrent Read/Write licenses in use. Note that an Administrator logged in to the swAdmin2 client does not use a license, and a user logged in with multiple sessions from the same computer, e.g., when a user uses both the Architect and Explorer clients simultaneously, is counted as 1.
  • "viewerLicenseCount" is the number of concurrent read-only (Viewer) licenses in use. (in this case, "debby.clark")


If setting up something like ELK is too much, and you are only interested in obtaining, e.g., highest concurrent logins over a period of time,  one could also just open a copy of the log in Notepad++ and search for all occurrences of LoginCount. Then from there, copy the search results and work with the data in MS Excel, or some other tool, if the data is too large for MS Excel. In the below example, 14 was the highest concurrent r/w licenses count: