You are viewing limited content. For full access, please sign in.

Question

Question

Delete Audit History

asked on March 30, 2017

My customer has finished user testing of a new Laserfiche installation.  During testing many student names were entered into Forms and the repository.

Prior to 'go-live' the repository has been cleared and all Forms incidents have been deleted.

How can I clear the Audit logs so that no events from the user testing appear in any Audit?

i.e. We don't want student names appearing in any Audit if they were entered during the user testing phase.

0 0

Answer

SELECTED ANSWER
replied on March 30, 2017

Hi Peter,

You can clear out the old events by rolling over your audit log and then deleting the rolled over file. You can do this in the Laserfiche Administration Console by going to the Auditing node and selecting 'Rollover Logs'. There's an option there to perform rollover, which will allow you to segment out that log file and clear it out. Be aware that this will get everything up until current. 

1 0

Replies

replied on March 30, 2017

Thanks Justin,

That cleared the current log.

It looks like you also have to detach and move/delete the LFAudit database.  Otherwise SQL data is still available for Audit Trail reports.

0 0
replied on March 31, 2017

The easiest thing would be to delete the audit reporting database and start from scratch.  It's easy enough to delete the actual events, but Audit Trail may remember that the first log file exists and this may show up in the UI when you try to load the first events after cleanup.  You won't ever see events from the period, but Audit Trail will alert the administrator that it can't find a log file that it knows is relevant.

0 0
replied on March 31, 2017

Once you remove the original log file, if you open the Audit Trail config page and change the reporting range, it should reload the SQL data.  Since there is nothing in the logs from the testing period for it to load, that information should get removed.

replied on April 2, 2017

I have found that the following method will completely remove the Audit logs.  This would only be used to delete test data before moving to production.

  1. Stop Laserfiche Service (this will release the database)
  2. Stop Audit Service
  3. Delete the repository Audit logs (Repository\AUDIT\*.log)
  4. Detach and delete the Audit database in SQL
  5. Restart the services
  6. A new blank Audit log will be automatically created
  7. A new Audit database will be created when you create an audit report 
0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.