Enabling, Validating and Disabling Audit Trail
BaseSpace Clarity LIMS provides Audit Trail, a robust data-tracking system that allows you track:
All user activity - i.e. who did what and when.
Every action that is written to the database.
Audit Trail has two capture systems, Event Log and Detail Log.
Event Log records familiar BaseSpace Clarity LIMS user actions, and presents this information in a format that is easy to read and understand.
Detail Log records exacting information about the changes resulting from the actions recorded in the Event Log. This includes both the updated values and the previous values.
Note:
As of BaseSpace Clarity LIMS v6, Audit Trail is enabled by default.
When Audit Trail is enabled, you may experience a small performance hit due to the overhead of writing these entries to the database. It is therefore recommended that you periodically archive the Audit Trail database so that it does not become too large.
For instructions, see the Backup and Restore Procedure
Enabling Audit Trail
All of the following steps are performed on the BaseSpace Clarity LIMS server.
With the exception of steps 1 and 8, all are performed as the glsjboss user.
Stop Tomcat - as the glsjboss user:
service clarity_tomcat stop
Access the property tool:
cd /opt/gls/clarity/tools/propertytool
Enable Audit Trail:
java -jar omxprops-ConfigTool.jar set -y -f 192.168.57.10 clarity.audit.enabled 'true'
Confirm the setting:
java -jar omxprops-ConfigTool.jar get clarity.audit.enabled
Migrate the database:
cd /opt/gls/clarity/config yes | bash update_claritylims_tenant.sh
Start Tomcat - as the glsjboss user:
service clarity_tomcat start
Validating Audit Trail
Log in to BaseSpace Clarity LIMS and make a change – for example, add a project, create a sample, add a custom field, etc. The exact change is not important. There must simply be a change to the activity or the configuration data since Audit Trail was last enabled.
Use psql (postgres) or SQL*Plus (Oracle) to query the main BaseSpace Clarity LIMS database (clarityDB) to verify whether rows are being written to the following two tables:
auditeventlog
auditchangelog
Disabling Audit Trail
All of the following steps are performed on the BaseSpace Clarity LIMS server.
With the exception of steps 1 and 8, all are performed as the glsjboss user.
Stop Tomcat - as the glsjboss user:
service clarity_tomcat stop
Access the property tool:
cd /opt/gls/clarity/tools/propertytool
Disable Audit Trail:
java -jar omxprops-ConfigTool.jar set -y -f 192.168.57.10 clarity.audit.enabled 'false'
Confirm the setting:
java -jar omxprops-ConfigTool.jar get clarity.audit.enabled
Migrate the database:
cd /opt/gls/clarity/config yes | bash update_claritylims_tenant.sh
Start Tomcat - as the glsjboss user:
service clarity_tomcat start
Last updated
Was this helpful?