

Use the Audit application to monitor and run reports on audited user activity. With Audit, you can quickly identify audit activity in your Relativity instance using pivots and visualizations.
Benefits of using Audit:
For information about common Audit workflows, see Reporting and Monitoring using Audit.
You must have Elasticsearch configured to use the Audit application.
The following lists supported and unsupported functionality on the Audit tab as compared to the history tab.
Supported functionality | Currently unsupported functionality |
---|---|
|
|
To use Audit, complete the following steps:
The Audit application includes the agents described below:
Agent name | Requirement information | Function | Agent type |
---|---|---|---|
Data Grid Audit Migrator | Only 1 per core on the agent server. Up to 16 agents per environment. | A Data Grid Audit Migrator agent migrates audit data from SQL to Elasticsearch for any workspace that has Audit installed. The frequency with which this agent checks for migrations and runs the migrations is controlled by the agent run interval value. | Multiple-installation |
Data Grid Audit Deleter | 1 per environment required. Up to 4 agents per environment. |
The Data Grid Audit Deleter agent is an off-hour agent that deletes all audits from SQL that have been successfully migrated to Elasticsearch. Along with un-migrated audits, it will leave other existing audits in SQL for a configurable number of days for billing purposes. |
Single-installation |
Data Grid Audit Reporter | (Optional) 1 per environment | The Data Grid Audit Reporter agent reviews the audit queue for errors that occurred during migration from SQL to Elasticsearch. This agent triggers a Relativity error based on the agent's run interval. This agent is set to an hourly run interval by default. | Single-installation |
Data Grid Audit Manager | Only 1 per environment | Populates filters in the Audit application. | Single-installation |
Data Grid Manager | Only 1 per environment |
A Data Grid Manager agent is an off-hours agent responsible for Data Grid enabled workspace management, including deleting outdated search results cache tables and monitoring Data Grid index conditions. Note: If you've already installed this agent with Data Grid installation, you don't need to add another. |
Single-installation |
Audit Export Agent | Only 1 per environment | The Audit Export Agent is activated whenever a user exports data to CSV or XLSX in the Audit tab (Mass Export). This agent then retrieves data from a storage location and streams it into a file. | Single-installation |
Audit Reviewer Statistics Agent | Only 1 per environment | The Audit Export Agent is activated whenever a user generates a Reviewer Statistics report (either by running the Reviewer Statistics script or by using the Case Metrics application). This agent retrieves data from a storage location, aggregates it, and saves it as a materialized view in the temporary tables of the workspace database. | Single-installation |
For more information on installing agents, see Adding and editing agents.
Use the Audit tab to build custom widgets and design dashboards to meet workflow needs. You can utilize the same Group By and Pivot On functionality available in Relativity. The default view on the Audit dashboard shows the last 7 days of Audit activity.
Note: You cannot add the Security, Edit, Name, System Last Modified On, System Last Modified By, System Created By, or System Created On fields to an Audit list view. Additionally, avoid adding the Artifact ID field to any views from the Audit tab.
Available functionality:
See these related pages:
In addition to basic filtering (Audit ID, Timestamp, Action, Object Type, Execution Time (ms), Object ArtifactID, User Name) available in the list view, advanced filtering is available for the Details field.
Although direct filtering on Field, Old Value, and New Value is not currently supported in the list view, you can use the "is like" and "is not like" operators to search for keywords within the Details field. This provides a rough filtering method for locating relevant records.
The "is like" and "is not like" operators support partial value searches. If a keyword appears anywhere in the Details field, the record will be included or excluded based on the selected operator.
the following is an example using "is like" and "is not like" operators:
Query | Result |
---|---|
Details is like Responsive | Returns records where “Responsive” text appears anywhere in the Details field |
Details is not like Hot | Returns records where “Hot” text does not appear anywhere in the Details field |
If your workflow requires distinguishing between New Value and Old Value, we recommend:
This method allows for more precise analysis while utilizing the available filtering capabilities.
To display the query text of an audit record, click the expand details icon in the Details column for that record. You can toggle between a table view and JSON view of audit details.
Note: You cannot export audits at the instance level.
You can export audit data from list views and widgets. The export respects the data made on the filters in the list view, and the results are filterable.
Note: When you export audit data, the Field, Old Value, and New Value are not displayed in separate columns but are preserved within the Details column. For the following field types, the choices names are included in the export in addition to IDs: Single Choice Field, Multiple Choice Field, Single Object Field, Multiple Object Field, and User Field.
To export audit data, complete the following:
The Audit tab is available at the instance level upon upgrade. You must have Elasticsearch installed and configured to use the Audit tab. If you do not have Elasticsearch installed, you can hide this tab.
Note: You must be a system admin to view audits at the instance level.
The Audit tab functions the same at the instance level. You can build custom widgets and design dashboards by utilizing the same Group By and Pivot On functionality available in workspace audits. However, exporting audits is not available. For a list of admin-level audited actions, see Audited actions.
System admins can view workspace audits at the instance level.
You can filter on the Workspace Name column to view audits for specific workspaces. By default, the Audit application displays audit information for the first 10 workspaces, sorted by Artifact ID. You can configure this number using the MaxAggregatedWorkspaces instance setting.
System admins can revert a coding decision made by a user on a document from the Audit list. Reverting the coding decision will edit the choice back to the previous selection. This action can only be performed at the workspace level.
You can revert the most recent Document Update, Mass Update, or Propagate action on the Document object.
Only the latest update action made to the following field types can be reverted:
Let’s assume that the Coding layout has two fields to edit: Responsiveness and Privilege. Neither of them is required. Below are the actions of two reviewers in order of execution:
If you execute a mass revert on all actions above, then only actions 3, 4, and 5 will be reverted, because they are the last updates made to the documents.
Using the same example above, now let's assume that the Privilege field is required. In that case, only actions 4 and 5 will be revertible. Operation 3 cannot be reverted because it would result in a blank (null) value, which is not allowed by the system.
To revert a coding decision:
Similar to reverting a single audit, each reverted audit generates a new audit record.
The Audit Migration Reports tab provides you with the option of generating a migration error and migration status report for you to monitor the status of audit data as you migrate it into Elasticsearch. You also have the option of running a migration error retry script.
The Migration Error Report generates a report that provides information on all errors that have occurred while migrating audit data into Elasticsearch, including batch and document errors.
Note: You can also run this script on all environments in your workspace from the Relativity Script Library tab. Click the user drop-down menu in the upper-right corner of Relativity, and then click Home. Navigate to the Applications & Scripts > Relativity Script Library tab, and then search for the name of the script.
To preview the script, select the radio button for this script and click Preview. To run this report, click Run. The following results populate the bottom of the window.
Note: Audit automatically retries certain audit migration errors, like SQL timeouts, invalid XML, and inability to connect to Elasticsearch. With this improvement, the migration error report may display a total of 0 errors because the system automatically retried and resolved those common errors. In this situation, there is no need to run the Migration Error Retry Script.
After identifying errors with the Migration Error Report, an admin can investigate and fix specific audit issues. Once the issues have been fixed, this script will resubmit audit records with errors to be migrated into Elasticsearch.
Note: You can also run this script on all environments in your workspace from the Relativity Script Library tab. Click the user drop-down menu in the upper-right corner of Relativity, and then click Home. Navigate to the Applications & Scripts > Relativity Script Library tab, and then search for the name of the script.
In the Error type to retry drop-down list, select from the following options:
Click Preview to see a sample of the report, or select the appropriate option and click Run to execute the script.
The Migration Status Report generates a report that shows the progress of the migration of audit data into Elasticsearch. This includes audits in SQL, audits pending migrations, and migration errors. To preview the script, select the radio button for this script and click Preview.
Click Run to generate this report and display the following information:
Use the Audit Workspace Setting tab to configure settings specific to the Audit application. The Audit Workspace Setting tab contains two settings, DisplayAuditDataSource and HistoryTabVisibleOnUpgrade.
Note: You must have permission to view this tab in order to configure the setting.
The DisplayAuditDataSource setting configures whether Relativity displays audits from SQL or Data Grid on the document history pane in the viewer and the View Audit button on object layout pages.
If you set audits to display from Data Grid, there may be a slight delay in viewing the most recent audits. A "Last Updated" value next to audits indicates the last time all audits were verified as migrated for that object. This lets you know that several of a document's most recent audits might not be migrated yet.
You can configure the DisplayAuditDataSource setting with one of three values:
The HistoryTabVisibleOnUpgrade tab configures whether the History tab is visible when upgrading the Audit application.
You can configure the HistoryTabVisibleOnUpgrade setting with one of two values:
By default, the HistoryTabVisibleOnUpgrade setting is set to hide the History tab when upgrading the Audit application. To configure HistoryTabVisibleOnUpgrade, click the Edit link and modify the Value field in the subsequent layout.
The following table lists audited actions in Relativity:
Note: If you perform a job while previewing a user's security settings, the audit action will be credited to your username and not to the user whose security you were previewing when you started the job.
Action name | Description of activity |
---|---|
CaseMap - Add Document | A document was sent to CaseMap. |
CaseMap - Add Fact | A selection of text from the viewer was sent to CaseMap as a fact. |
Conversion Complete | A file was converted by way of a user clicking on a file link in the document list, running an imaging set, imaging on the fly, running a mass image operation, or switching to text or production mode in the viewer. |
Create | An item was created. |
Delete | An item was deleted. |
Document Query | A query was run on a list of documents, or a document query was canceled. (A message indicating that a query was canceled is displayed in the details and on the Query Text pop-up.) |
Export | The contents of a production set, saved search, folder, or subfolder were exported. |
Images - Created | Images were created. |
File Download | A file was downloaded through the Single Simple File Upload application. For example, a user clicked Download File on the Error Actions console of an individual processing error layout. |
File Upload | A file was uploaded through the Single SimpleFile Upload application. For example, a user clicked Upload Replacement File on the Error Actions console of an individual processing error layout. |
Images - Created for Production | Images corresponding to a production outside of Relativity were imported into the system. |
Images - Deleted | Images were deleted. |
Import | Content associated with a load, production, or image file was imported. |
Markup - Image - Created | Redactions or highlights were added to an image. |
Markup - Image - Deleted | Redactions or highlights were removed from an image. |
Markup - Image - Modified | Redactions or highlights were moved, resized or edited on an image. |
Markup - Native - Created | Redactions or highlights were added. This audit entry applies to transcripts only. |
Markup - Native - Deleted | Redactions or highlights were removed. This audit entry applies to transcripts only. |
Markup - Native - Updated | Redactions or highlights were moved, resized or edited. This audit entry applies to transcripts only. |
Move | A document was moved from one folder to another. |
Native - Created | A native file was loaded into Relativity. |
Native - Deleted | A native file was removed from Relativity. |
Pivot Query | A Pivot report was run, or a Pivot report was canceled. (A message indicating that a query was canceled is displayed in the details and on the Query Text pop-up.) |
A document was printed. (ActiveX viewer only) | |
Production - Add Document | A document was added to a production. |
Production - Remove Document | A document was removed from a production. |
Query | A process ran a query (such as categorization), or a query was canceled. (A message indicating that a query was canceled is displayed in the details and on the Query Text pop-up.) |
RelativityScriptExecution | A Relativity script was run. |
ReportQuery | A summary report was run. |
Run | A file was imaged, saved as a PDF, or otherwise converted for viewing |
Search Cache Table Creation | A search cache table was created. (Search cache tables are created the first time you search for a term or phrase using dtSearch or Relativity Analytics.) |
Security | Security rights were assigned or changed |
Tally/Sum/Average | The mass operation Tally/Sum/Average was run in the workspace. |
Update | Document metadata was updated on a single-document basis. In addition, filters on information related to applications installed through the workspace or by an agent. |
Update - Mass Edit | Document metadata was updated on a mass basis. |
Update - Mass Replace | Document metadata was edited using a text mass replacement. |
Update - Propagation | Document metadata was edited according to a propagation rule. |
View | A document was viewed. |
Workspace Upgrade | Details about scripts run on a workspace during an upgrade. |
The following actions are audited at the admin-level. These admin-level actions are recorded against the Admin Case (workspace name). If you filter on the actual workspace name when searching for the Login action, you will not see any results.
Action name | Description of activity |
---|---|
Create | An item was created. |
Update | An item was updated |
Delete | An item was deleted. |
Security | An owner of a saved search was set during creation or edit. |
Login | A user logged in to Relativity. |
Logout | A user logged out of Relativity. |
Export | Data was exported from a tab at the instance level. For example, a workspace list, list of users, list of groups, etc. |
RelativityScriptExecution | A Relativity script was executed. |
Password Reset Request - Submitted | A password reset request was submitted. |
Password Reset Request - Opened | A password reset request was opened. |
Password Reset Request - Successful | A password reset request was successful. |
Security Preview Started | A security preview started on a user or group. |
Security Preview Ended | A security preview ended on a user or group. |
Workspace Upgrade | Upgrade script run on the workspace (details can be viewed in the JSON tab of the Details). |
Login - Failed | A login attempt to Relativity failed. |
Why was this not helpful?
Check one that applies.
Thank you for your feedback.
Want to tell us more?
Great!