Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Aug 2, 2022 8:26:35 AM
Oct 27, 2016 8:51:11 AM
This is a PowerShell script which will move (or delete) older logs from the Qlik Sense default logging directories. This is useful as a tool to cleanup old logs if there are no requirements to keep them.
The valid configurable parameters are:
Changelog:
v2: added /LOG:$scriptDir\robolog.log /MT to robocopy. ~40% performance improvement
v3: added a better handling of deleting files + and additional version without robocopy if you just need to clean the files called deletearchivedlogs_olderthan60days.ps1
DISCLAIMER
This tool is provided free of charge and is not supported. Qlik Sense Log Archiver / Eraser is not an official Qlik Sense product and is provided without warranty. Use of this script is entirely at the user's own risk.
Hi,
Your two first link in "see the robocopy flags " are wrong:
They are http://https//technet.microsoft.com/en-us/library/cc733145(v=ws.11).aspx
insted of https://technet.microsoft.com/en-us/library/cc733145(v=ws.11).aspx
The commented link in the script is good.
Regards,
Luc
Hi,
You fix partially the link (the : is missing)
Now they are http//https//technet.microsoft.com/en-us/library/cc733145(v=ws.11).aspx
Instead of http://https//technet.microsoft.com/en-us/library/cc733145(v=ws.11).aspx
Regards,
Luc
Thanks for the correction, Luc. I have updated the links to work properly now.
Best regards,
Qlik Community Team
I got it. Thanks a lot, ltu I owe you a beer.