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… 52Number of Views Microsoft SQL Server Collectors can no longer connect to the SQL Server database after upgrade to Microsoft SQL Server 201… 299Number of Views Microsoft SQL server collector fails intermittently in RSA Identity Governance & Lifecycle 210Number of Views How to enable DEBUG logging to show SQL queries generated by RSA Identity Governance & Lifecycle 100Number of Views On RSA Via Lifecycle and Governance the aveksa_server start returns message: Cannot connect to the database, but the DB is up 767Number of Views
Trending Articles
RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide RSA Authentication Manager 8.1 Quick Setup Fails with "Failed to Attach Replica Instance" User Application Portal How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device The RSA Identity Governance & Lifecycle AD Collector and AD ADC authentication source fail to establish a TLS 1.2 SSL conn…