Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Audit Reports for Operations

 

Introduction

Every operation on each OpenSpecimen object of add, edit, or delete is audited. Each audit log contains the following information:

  1. User 

  2. Object

  3. IP Address

  4. Date and time

  5. User institute

To access the audit reports:

Login into OpenSpecimen; from the home screen, click ‘Extras'→'Audit Logs'

Notes:

  • Since generating audit logs can be resource-intensive, only one audit report can be generated at a time.

  • The report is emailed if it takes more than 30 seconds to generate.

  • The maximum number of days for which audit logs can be generated is configured in the Settings tab.

  • Generating audit logs frequently and for a broad range of dates can slow the system down.

  • Audit logs should be generated only during off-peak hours.

Super Administrators can download one or more of the following types of audit reports:

  1. Data revisions (includes forms)

  2. Query audit log

  3. Successful and failed logins

  4. API logs

Steps to download all objects audit data

Click ‘Extras'→'Audit Logs'

image-20240422-061025.png
  • Click on 'Export' after entering the necessary information.

Exporting Data Records

You can export audit records only for core objects e.g., participant, visit, specimen, distribution, orders, containers, etc. From v11.x onwards, you can also shortlist the identifiers of the objects you are interested in. E.g. participant ids “123,343”.

  1. Click ‘Extras'→'Audit Logs'

  2. Record Type: Select “Core Records”

  3. Records (optional): Select the object. E.g., participant. Leaving blank will export all records.

  4. Records IDs (optional): Comma-separated values of record IDs. Leaving blank will export all records.

  5. Report Interval (Mandatory): Start date and end date. The range has to be less than the maximum period configured in Settings.

  6. Audited User (Optional): User to be audited. Leaving blank will export all users.

Audit of ‘Forms’ Definition

To export any changes made to the form definition.

  1. Click ‘Extras'→'Audit Logs'

  2. Record Type: Select “Forms”

  3. Enter dates and user and click on export.

Audit of ‘Forms Records’

To export audit logs for form data.

  1. Click ‘Extras'→'Audit Logs'

  2. Record Type: Select “Form Records”

  3. Forms (mandatory): Select the form for which you want to export the audit.

  4. Records IDs (optional): Comma-separated values of form record IDs. Leaving blank will export all records.

  5. Report Interval (Mandatory): Start date and end date. The range has to be less than the maximum period configured in Settings.

  6. Audited User (Optional): User to be audited. Leaving blank will export all users.

  7. Click on Export.

How to find old vs new values?

The ‘Change Log' column contains the object's revisions. To find an object's old vs. new value, export the audit log for the data range you are looking for and filter the Excel for the object’s identifier. This will give you all the revisions for that date range for that object.

For example, if PPID is updated, the change log will be displayed as below:

Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com