After running the Monitoring Apps for a while on a Qlik Sense Enterprise for Windows installation you might have noticed that the QVD files are growning in size in the default location for the monitoring apps C:\programdata\qlik\sense\log
The Operations Monitor as the main driver with the file governanceLogContent_version_file.qvd.
One of the ways to reduce the size is to reduce the amount of log files you store, another way is to move the QVD files onto a different drive so you can free space on the c drive.
An easy way i found to accomplish that will be demonstrated on the Operations Monitor.
First you need to add a new folder connector e.g. calling it ServerQVDFolder and map it onto the new drive e.g. E:\LogQVD\
then add to the script:
LET serverQVDFolder = 'lib://ServerQVDFolder/';
and adjust the next lines accordingly
LET baseFileName = 'governanceLogContent_$(app_version)';
LET baseTableName = '$(serverQVDFolder)$(baseFileName)';
LET serviceFileName = 'governanceServiceLog_$(app_version)';
LET serviceTableName = '$(serverQVDFolder)$(serviceFileName)';
LET time_range_FileName = 'governance_time_range_ops_$(app_version)';
LET time_range_TableName = '$(serverQVDFolder)$(time_range_FileName)';
LET date_time_FileName = 'governance_date_time_ops_$(app_version)';
LET date_time_TableName = '$(serverQVDFolder)$(date_time_FileName)';
LET monitorAppStatsFile = '$(serverQVDFolder)Operations_Monitor_Reload_Stats_$(app_version).txt';
original content lines:
//LET baseTableName = '$(serverLogFolder)$(baseFileName)';
//LET serviceTableName = '$(serverLogFolder)$(serviceFileName)';
//LET date_time_TableName = '$(serverLogFolder)$(date_time_FileName)';
//LET time_range_TableName = '$(serverLogFolder)$(time_range_FileName)';
//LET monitorAppStatsFile = '$(serverLogFolder)Operations_Monitor_Reload_Stats_$(app_version).txt';
You can then copy over the old QVDs from C:\programdata\qlik\sense\log onto the new location E:\LogQVD\ and it will use those for the next reload. If you skip the step new QVDs will be generated.
The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
Help users find answers! Don't forget to mark a solution that worked for you! 🙂