Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
umartareen
Creator II
Creator II

"Archivo" path in Qlik sense Operations Monitor ?

Hi All,

There is a path mentioned in the Operations monitor application of Sense, which is named archive.

For eg : in the tab 'SUB storeFiles', we have a statement on Line 5, as below :

Store '$(nombre)' into [$(archivo).qvd];

Currently as per the client requirement the Qvds being generated by the application need to be stored in another path and not the default [..Qlik\Sense\Log\] path.

My question is where is the path for 'archivo' mentioned in the application or QMC ? How is Sense able to identify the path ?

Thanks,

Umar

3 Replies
umartareen
Creator II
Creator II
Author

Hi All,

Let me simplify the question :

How does the Operations Monitor application define the path to store its Qvds ?

By default the Qvds are generated in "C:\ProgramData\Qlik\Sense\Log\". If I have to change the storage path of the Qvds, how can I do it ? And how will it affect my application ?

Help will be greatly appreciated !!

Thanks,

Umar

umartareen
Creator II
Creator II
Author

Below are the steps I have applied in achieving this.

Step 1 : Create new data connection with the new path for Qvd storage.

Step 2 : Create a variable and store the library in it. Example - Let qvdStoreFolder   = 'lib://QVD_Store/';

Step 3 : Modify the existing Variable 'baseTableName'.

             Default : LET baseTableName = '$(serverLogFolder)$(baseFileName)';

             Modified : LET baseTableName = '$(qvdStoreFolder )$(baseFileName)';

Thanks,

Umar

Ken_T
Specialist
Specialist

Hi Umar, I was tracking down the answer for the same question. That variable is defined when the subroutine is called. the subroutine is LoadBaseTable, in its own script section named LoadBaseTable
this is called in qlikview_logs script section, when this subroutine is called, the values are passed to it for  the two items: nombre, archivo. 

in my version of the app, this is:
CALL loadBaseTable ('qlikview_$(log)_historical', '$(qv_$(log)_qvd_file_name)')

it has a few more variables that are parts of the first item and then the file name is the second part:
$(qv_$(log)_qvd_file_name)

part of this gets tricky but the qvds end up created using the variable serverLogFolder,
which is using the connection named ServerLogFolder: 
  LET serverLogFolder = 'lib://ServerLogFolder/';

which you can review in the QMC to see where the files are placed.

The files for non database logging look like
governanceSession_#.##.#.qvd
governanceLicenseLog_#.##.#_file.qvd

where #.##.# is the version number of the license monitor app that you are using

 

I believe this is correct and hopefully someone from QLIK will confirm.