# View Specify Audit Logs

**URL:** <https://speciforum.org/t/view-specify-audit-logs/974>\
**Category:** Specify 6 Documentation\
**Tags:** Specify-6, Members-only\
**Created:** [September 15, 2022, 5:00am UTC](https://speciforum.org/t/view-specify-audit-logs/974 "2022-09-15T05:00:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [September 15, 2022, 5:00am UTC](https://speciforum.org/t/view-specify-audit-logs/974/1 "2022-09-15T05:00:00Z")

</div>

Managers of a Specify database can enable auditing in their database to audit user behaviors.

**Step 1:** First, open the Specify Preferences by navigating to **Edit → Preferences** in the menu bar.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/b/b3e316957522d7ef626f53a17a585e3dafaebaa3.jpeg)

Make sure to check **Enable Auditing**. This will begin cataloging user actions in the database.

You can choose to preserve field value changes as well by checking **Audit Field Value Changes**.

Set the number of months to save audits, then click **OK** to finalize these changes.

**Step 2:** Navigate to the Query builder on the navbar.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/5/5b30fa49ed4ba89974d3c9202c73854c85a9402f.png)

Right-click on the Query sidebar and click Configure Query Creators.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/f/fe694d27e2915edf51ede74654585301ee9130a5.png)

**Step 3:** Click the + and check the Sp Audit Log, then click OK.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/8/842f70f24b951c2cfc883fcd64552965469dd383.png)

**Step 4:** Click on the Sp Audit Log in the sidebar to create an audit log query.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/0/06af60eb29820e39e9f6b14eb6366ecaf97b1275.png)

Now you will be presented with all the fields within the Sp Audit Log table.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/f/f0ade58989218b00b1e5be6d14905b25239e2669.jpeg)

**Action** shows the action made by the agent.

**Created By Agent** allows you to add any agent field to the query.

**Fields** contains the Field Name, the New Value, and Old Value.  
Parent Record Id shows the table’s parent ID.

**Record Id** shows the table’s ID.

**Record Version** shows the record version (0 = never edited, 1 = 1  
revision…)

**Table Num** is the table name in the database (Taxon, Determination, etc.)

**Timestamp Created** is the time the action was done.

**Step 5:** Create your query! You can search by any part of the agent table to add more granularity.

**Here is an example output:** (Agent obscured)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/1/148ab4214bec30abbf3a7f38c43aa5f63e48d32b.jpeg)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/8/8d183befa0f87f871adc9f52bfdc2096455bb361.png) Now you can create a record set, print, or export an Excel file of the data.
