{}

Nos marques

Bienvenue sur le site Web de Schneider Electric

Bienvenue sur notre site Web.

Consulter notre FAQ

How to see when users have logged into the Web Applications in PME 9.0

Issue
The administrator of the Power Monitoring Expert (PME) server would like to know when users are accessing the Web Applications.

Product Line
PME 9.0

Environment
ApplicationModules database
Web Applications

Resolution
*Warning: Irreparable database damage can occur. This procedure should only be performed by users familiar with SQL Server Management Studio. Databases should be backed up prior to performing this procedure.*

1. Open SQL Server Management Studio (SSMS), then connect to the PME database instance (default is ION)
2. Click New Query
3. Copy and paste in the following script:
USE ApplicationModules
SELECT * FROM Diagnostics.LogEventView
WHERE Location like 'SystemDataService'
ORDER BY LogEventID DESC

4. Click Execute to run the script

sql screenshot

5. Refer to entries that start with "Web access granted" under the Message column, which indicates when a user has logged in, and see the corresponding timestamp in UTC under the Timestamp column
6. Note the username shown at the end of the string under the Message column (e.g. "user1" in the above screenshot)

*Note: This script will only work with PME 9.0. In subsequent versions of PME, a similar record of access can be found if the line WHERE Location like 'SystemDataService' is changed to WHERE Location like 'Security Controller'

Schneider Electric Belgium

Pièce(s) jointe(s)

web_applications_access_log.sqlweb_applications_access_log.sql [129 Bytes]
En savoir plus
Gamme :
En savoir plus
Gamme :