Skip to main content
tiCrypt

Audit Logs

Prerequisites

User Role:

Super-admin

Audit Logs is the Management table that shows the most recent lines of tiCrypt's audit log: the lines the logger service has not yet rotated into its archive. Each line records one action, such as a login, a file operation, a VM event or an administrative change. Audit Logs is not the full audit history: older, rotated lines are not shown here, and searching the whole history is the job of the separately deployed tiCrypt Audit platform. The logger rotates the live file a day after it started it, also when the logger restarts in between, so the table holds about the last day of records.

The following table describes the columns of the Audit Logs table.

ColumnDescription
SeqA row number the table assigns when it loads the lines. It is not stored in the log.
TypeThe kind of log record.
TimestampWhen the action happened.
Arg 1 to Arg 20The fields of the record, in the order the log stores them. Their meaning depends on the Type.

For what each Type records and what its Arg columns hold, see Audit Event Reference. Session and token columns, such as SessionID, hold a reference to the session or token, never its value, so the table shows no secret that would give access to a session.

You can filter the Type and Arg columns by text. The Timestamp column has no filter, and the table has no user or time-range filter. Rows have no actions and no detail pane.

A line that ends with #CUT# was cut short, for example when the logger service stopped in the middle of writing it. The logger marks such a line and starts the next record on a new line, so the rest of the log stays readable and its hash entries still verify.

Records of who held a login ID​

A login ID can change hands: a Super-admin can change a user's login ID, and the login ID of a purged account is free for a new one. The following records, filtered by Type, show which account held a login ID at any time.

TypeRecordFields
UAUser addedIncludes the login ID (Email) and the user ID of the new account.
UELogin ID changedThe Super-admin who made the change, the user ID, the old and the new login ID. Failed attempts are recorded with their error code.
UDUser deletedThe user ID and, from backend 3.16.5, the login ID. The deleted account keeps holding the login ID.
URUser restoredOne record per restored account, with its login ID. The request that restored them is a UDRN record.
UPGUser purgedOne record per deleted account a purge removes. From this record on, the login ID is free. The session ID is empty when the deleted-user cleanup made the purge. The purge itself is a UDPU record.

The user modified (UM) record no longer carries a login ID: its Email field is always empty. In UM records written before backend 3.16.5, the values are shifted by one field: the email is under FirstName, the first name under LastName, and the last name under Email.

View Audit Logs​

  1. Go to the Management icon in the top left taskbar.
  2. Navigate to the Miscellaneous section.
  3. Click the Audit Logs in the left panel.
  4. View each audit log's sequence, type, timestamp, and other fields in the list.
Result: The table shows the unrotated audit log lines, newest first.

Refresh Audit Logs​

bulk-action

  1. Go to the Management icon in the top left taskbar.
  2. Navigate to the Miscellaneous section.
  3. Click the Audit Logs in the left panel.
  4. Click the Refresh button in the top right panel.
Result: The table reloads the current unrotated lines. Without a refresh, the table keeps the lines it loaded for up to 10 minutes.

Export Audit Logs in CSV Format​

bulk-action

  1. Go to the Management icon in the top left taskbar.
  2. Navigate to the Miscellaneous section.
  3. Click the Audit Logs in the left panel.
  4. Select the log(s) you want to export in CSV format.
  5. Click the Export CSV button in the top right panel.
  6. Select Selected items.
  7. In the local window, click Save.
Result: The CSV file includes the Arg 1 to Arg 20 columns, as do Excel exports of the table.

Export Audit Logs in JSON Format​

bulk-action

  1. Go to the Management icon in the top left taskbar.
  2. Navigate to the Miscellaneous section.
  3. Click the Audit Logs in the left panel.
  4. Select the log(s) you want to export in JSON format.
  5. Click the Export JSON button in the top right panel.
  6. Select Export selected items.
  7. In the local window, click Save.
note

Click View Selected Items before exporting to view the audit logs as a table in JSON format.