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… 267Number of Views Microsoft SQL server collector fails intermittently in RSA Identity Governance & Lifecycle 188Number of Views How to enable DEBUG logging to show SQL queries generated by RSA Identity Governance & Lifecycle 96Number of Views Data Collections and AFX Connectors from/to SQL Server endpoints fail when using the jTDS driver in RSA Identity Governanc… 434Number of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records Unable to login to RSA Authentication Manager Security Console as super admin RSA Authentication Manager 8.9 Release Notes (January 2026) How to manipulate imported RSA SecurID Software Token(s) on an iPhone or iPad device Connection fails to Cloud Authentication Service when connecting through a proxy server from RSA Authentication Manager to…