Transactions Log Viewer
The ADSS XKMS Service transaction log records every XKMS service request and response messages:
Each item in the screenshot is described below:
Items |
Description |
Clear Search |
After a Search this window will only show the filtered records. The Clear Search button is used to view the full set of records. |
Search |
This opens a new window where search criteria can be entered based on each column of the transaction grid. |
Customise Columns |
This opens a new window to configure which column need to be shown in the grid and which column need to be hidden. |
|< < > >| |
These buttons are for navigating the different pages of the transaction log. Note the number of records shown per page is configurable from within Global Settings. |
Export Logs |
This button is used to export the selected transactions log into a zipped CSV file in which each column is separated by literal '~&~'. The file can be viewed using Microsoft Excel. However, in order to view and analyze the contents of the file in detail (all the archived transactions etc.), the operator needs to import the file into ADSS using the Import Archived option. |
Verify Integrity |
Verifies the integrity of the XKMS service transaction log records. It detects tampered and deleted records and generates a report that can be exported to a physical drive. When exporting HMAC verification reports, it is recommended to save the file with “.html” extension so that the report can be viewed in an internet browser. |
Show Archived |
This opens a new window where you can import and view previously archived file i.e. archived/exported transactions log. |
Log ID |
A unique serial number for the log record, it is system-defined and not part of the request/response messages. |
Response Status |
This shows whether a “success” or “failure” was returned in response. |
Request Time |
Records the date/time when the request was received. |
Response Time |
Records the date/time when the response was sent. |
Request/Response |
Provides a link to view the request/response messages. |
TLS Cert |
Clicking on “View” link under this column displays the TLS client authentication certificate. The “View” link is only present when TLS client authentication was used to send requests to the XKMS service. |
Signing Cert |
Clicking on “View” link under this column displays the request signing certificate. The “View” link is only present when a signed request was sent to the XKMS service. |
IP Address |
Records IP of the requester's machine. |
Error Code |
Hover your mouse over the View link to show the error message e.g. trust building failed, XKMS Service Disabled etc. |
The XKMS Service transaction records can be sorted in either ascending or descending order by selecting a table column from the drop down list. From the drop down menu in above screen, choose Import Archived and click on Go button. This will show the following screen:
Each item in the screenshot is described below:
Items |
Description |
Import archived transaction file |
Use this option to browse the archived log file in zip format from the operator machine. By using this option the archived log file is uploaded on the ADSS Server. It can be an expensive operation if the file is of large size so the operator is allowed to upload a file with maximum size up to 25 MB. Use the archived file path option for files bigger than 25 MB. |
Archived transaction file path |
Use this option if the file size is greater than 25 MB. This option does not upload the archived file to the server. Rather the server reads the file from given file path before importing which is faster than the above option. You can either specify the local file system path or a network path. Note: Do specify the archived log file name in the file path. |
The archived files were created in the csv format till ADSS Server v4.7.5 but from v4.7.6 and onward the archived files are zipped to save the disk space when archiving. If you are importing the archived files created using a pre-v4.7.6 deployment to ADSS Server v4.7.6 or later then first zip them before importing otherwise ADSS Server will not recognise them as correct archived files. |
As explained above, clicking on the Search button on XKMS Transactions Log Viewer displays following screen:
This helps to locate a particular transaction the XKMS service may have performed within a particular time frame or to a particular client (i.e. using the IP address and/or TLS certificate).
If a search is based on multiple values, then these will be combined together using the “AND” operand, and thus only records that meet all the criteria will be presented.
If "_" character is used in the search then it will act as wildcard. |
Clicking on the Customise Columns button on XKMS Transactions Log Viewer displays following screen:
By default few columns are in the "Selected Columns" list. In order to hide a column move the required column to "Available Columns" list
Each log record within the database is protected with an HMAC checksum to detect any intentional or accidental modification of records. Clicking the Verify Integrity button checks the log integrity and generates a report as shown below:
Click on the Export Logs button to export the request/response to a network file.
The transaction logs are not exported according to the applied filter/search, they are exported as a complete zip file. |
Clicking the Fix HMAC Errors button will re-calculate the HMAC for tampered transaction logs records for this module.
Note: This option will not detect the unauthorized deleted records but it will only fix the unauthorized modifications and/or ambiguous records for which HMAC value is not present/incorrect.
The Verify Integrity feature is available for the transactions log of all services within ADSS Server. |
As explained above, clicking on the link for Log ID displays details for the selected XKMS transactions as shown below:
By clicking any of the configuration ID, following dialog will appear with Transaction State and Current State column:
Configuration ID works as follows:
- On profile update operation, the pre-state of the profile is stored with a unique identifier in the profile history table. A new unique identifier is created for each update operation. The unique Id representing the latest state stored along the profile information in profile table. On profile create operation the default value is “1” and is used for profile’s current state.
- In transaction log viewer a link is shown to launch the profile configuration used to process the particular request. When user clicks on this link, a database query made to profile history table and the profile state is shown in a generic viewer with Transaction State and Current State.
- Transaction State column contains the values against a specific field at the time of performing a transaction.
- Current State column shows the current settings for the profile used in a transaction in the past.
- If any of the field settings are changed in between the Transaction State and Current State, it is highlighted to let the user know that this field’s state has been changed since the transaction was made.
Clicking on the View link for Request/Response displays the XKMS request and response sent or received during this transaction as shown below.
Click on the Response tag to view the relevant XKMS response.
Click on the Export Request/Export Response button to export the XKMS request/response on the physical drive.
See also
Configuring the XKMS Service
Logs Archiving
Alerts
Management Reporting
XKMS Service Interface URLs