Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello ,
how to keep only 10 days logs qlik sense in the folder via QMC from C:\ProgramData\Qlik\Sense\Log
Thanks
Hi @zied_ahmed1,
You can configure logging levels of the Qlik Sense services in the QMC. See the following Help entry for details: Configuring the logging i.e. for Engine logging, edit Logging section of QMC > Engines > Central.
Best Regards
thank you @Chip_Matejowsky ,
Can you please send me a picture to know what i need exactly modifying to keep only the last 10 days of logs ?
Thanks
QMC -> Monitoring -> Logging->Retained logs
Set retention here
Create a ps script,
Get-ChildItem –Path "\\LogFolder" -Recurse -include *.log | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))}|Remove-Item
*\\LogFolder- Change as per your environment
*AddDays(-30) - Change days as per your requirement
Now call the ps script using a batch file. You can execute the batch file from the Windows task scheduler.
thanks @Aasir but there is no Monitoring in the list (there is only Monitoring apps )
Thanks @ashimdash will try create this script and back to you
Might be a version difference from mine.