cancel
Showing results for 
Search instead for 
Did you mean: 

Deletion of Audit (Process) Logs

SteveBoomer
Level 5
Hi All, Does anyone know of a safe way to remove Audit logs, specifically Process Logs from Blue Prism / the SQL Database? Despite Development best practices stating that no customer information should be contained in the log, it sometimes finds its way in. We'd like to delete any logs over one year old, but there isn't a way of doing it through BP (or is there?). If anyone has any experience of this, I'd be very interested to hear what you've done. Thanks in advance. Steve  
3 REPLIES 3

John__Carter
Staff
Staff
Go to System > System > Archiving and choose the delete option rather than archive. However, if you have a lot of data older than 1 year, you may not be able to delete it in one go and maybe have to do it in pieces. Once you're down to a level you like, set the auto-archive to do it for you.

SteveBoomer
Level 5
Thanks John. Completely missed that option.

You can also use the command line to achieve the same and create a scheduled process or put it in windows scheduler to archive\delete audit logs for you once a week.
AutomateC.exe/archive/sso/age 3m
AutomateC.exe /archive /sso /age 3m /delete
AutomateC.exe /archive /sso /age 1w >> myoutput.txt

------------------------------
------------------------------
Vipul Tiwari
Senior Process Simplification and Optimization Designer(Solutions Architect)
Fidelity International
------------------------------
------------------------------
------------------------------ Vipul Tiwari Senior Process Simplification Developer Amazon ------------------------------