SQL Server statement tracing
For RSA Key Manager 2.0.x
If you need to look at the SQL statements generated by Key Manager Server, use SQL Server Profiler.
Start Microsoft SQL Server SQL Profiler
Create a new trace
Click on the "Event Selection" tab
Check "Show all columns"
Select the event "Stored procedure -> RPC:Completed" and select only the columns "TextData", "DatabaseName" and "StartTime".
Click on "Column filters"
Select "DatabaseName"
Expand 'Like' and type (with no quote)
"kmsDataStore" for 2.0.x Key Manager Server
"RKM" for 2.1.x Key Manager Server
Select "TextData"
Expand 'Like' and type (with no quote)
"declare%"
Click Ok
Click Run
Now all requests to the database will be logged. Use the pause and clear buttons to manage the trace.
If you have to view only GetKeyByID requests, use the following TextData Filter if you are using RKM Server 2.0.x:
declare%FROM CryptoKeys, Ciphers, KeyClass, ApplicationGroup WHERE CryptoKeys.keyClass = @P0 AND CryptoKeys.keyID = @P1%
For RSA Key Manager 2.7
Start Microsoft SQL Server SQL Profiler
Create a new trace
Click on the "Event Selection" tab
Check "Show all columns"
Select the event "Stored procedure -> RPC:Completed" and select only the columns "TextData", "DatabaseName" and "SPID".
Click on "Column filters"
Select "DatabaseName"
Expand 'Like' and type (with no quote)
"RKM"
Select "TextData"
Expand 'Like' and type (with no quote)
"declare%"
Click Ok
Click Run
Related Articles
No SQL Strategy found for SQL statement: Execute CreateAccount when using a Generic Database AFX connector in RSA Identity… 49Number of Views Microsoft SQL Server Collectors can no longer connect to the SQL Server database after upgrade to Microsoft SQL Server 201… 290Number of Views Microsoft SQL server collector fails intermittently in RSA Identity Governance & Lifecycle 200Number of Views How to enable DEBUG logging to show SQL queries generated by RSA Identity Governance & Lifecycle 98Number of Views How to enable DBMS_OUTPUT in Oracle SQL Developer for use with RSA Identity Governance & Lifecycle 28Number of Views
Trending Articles
How to Download OTP Token Seed Files from myRSA RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Download RSA SecurID Access Cloud User Event audit logs using Cloud Administration REST API CLU RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide