Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Swarup_MOA
Contributor III
Contributor III

Purging logs from C:\ProgramData\Qlik\Sense\Log\Licenses on Qlik enterprise server

Hello  ,

 

Our Qlik Sense server (Qlik sense Nov 2023 Patch 10 - 14.159.15) has accumulated logs (C:\ProgramData\Qlik\Sense\Log\Licenses )over the past five years, and the size continues to grow. Currently, these logs are taking up approximately 45 GB of space. Please advise if Qlik Sense provides an option to purge logs that are older than a certain date?. And is it safe to delete files that are older than 2023?.

 
Best regards,
Swarup

Labels (1)
1 Solution
2 Replies
rafaelencinas
Partner - Creator II
Partner - Creator II

Hi !

I developed a bat file to do that for me, and you may trigger over Windows Task Scheduler:

 

forfiles /P "C:\ProgramData\Qlik\Sense\Log\Licenses " /S /M *.* /D -30 /C "cmd /c del @file"

Where -30 is the number of days of my log files that I want to delete ( more than 30 days )

 

Bye!

 

"Without data, you're just another person with an opinion." — W. Edwards Deming.