Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
cocuzzan
Partner - Contributor III
Partner - Contributor III

personalized / customized : Monitoring apps

Hi I need to create apps that monitor access to Qlik.
Practically the default monitoring app is good, but I need to create a different one with the same data.

the first question is:
1) How do I recover or use the same Monitoring Apps data?

2) the second question is:
can I copy the monitoring apps and make changes in the data upload so that they do not conflict with saving QVDs?

1 Solution

Accepted Solutions
Clever_Anjos
Employee
Employee

  1. You can create a sheet into that app and create your customized dashboard OR
  2. You can duplicate the app ( in this case, you should after modifying the app change the owner to sa_repository) so it can be reloaded

View solution in original post

9 Replies
Clever_Anjos
Employee
Employee

  1. You can create a sheet into that app and create your customized dashboard OR
  2. You can duplicate the app ( in this case, you should after modifying the app change the owner to sa_repository) so it can be reloaded
cocuzzan
Partner - Contributor III
Partner - Contributor III
Author

ideas are generally good. But how to implement them?

Assuming that you follow the second option, which initialization variable should I modify for example in the "Lincense Monitor" app?


thank to your respond


follow code standard section : "Initialize" from "License Monitor"


//    License Monitor

//  Copyright 1993-2017 Qliktech International AB

REM To manually override where this app loads log data, please update the variable db_v_file_override as follows:

0 = auto = script will check for recent data in logging database

1 = file logs only (no database logs loaded)

2 = database logs only (no file data loaded except where file log data already stored in governanceLogContent QVDs;;

SET db_v_file_override    =    0;

REM END set manual override for log data source (Only update the script beyond here at your own risk!);

Let ReloadStartTime         = now(1);

SET app_version                = '7.7.0';

Let comp                     = ComputerName();

LET ProdVer                 = PurgeChar(ProductVersion(),chr(39));

LET startMsg                 = 'Reloading License Monitor $(app_version) from $(comp) running version $(ProdVer)';

TRACE $(startMsg);

SET monthsOfHistory         = 100;        // How many months of history should be available in the app. More history = more processing, bigger app, etc.

LET cutoffDate                 = AddMonths(today(),-$(monthsOfHistory),1);        // Filter individual .log files and baseTable; note: the 1

Let LastReloadTime             = timestamp(if(isnull(LastSuccessfulReloadStartTime),cutoffDate,LastSuccessfulReloadStartTime));

Let lastReloadCompare         = num(LastReloadTime)-1;    // (Re-)load any logs updated within 24 hours of the last reload

SET minSenseActivityDate    = 42005;    // Jan 1, 2015 - cutoff for all Sense-related activity

SET hideprefix                 = 'log';    // Hiding logList from view, though preserving it for now (not dropping it)

SET firstReload             = 0;        // RESET this each time -- it will check.

SET va_LoginToUserPass        = 10;

LET serverLogFolder            = 'lib://ServerLogFolder/';   

LET archivedLogsFolder        = 'lib://ArchivedLogsFolder/';

SET central_node_name        =  ;    // Multinode intialize

LET baseFileName             = 'governanceLicenseLog_$(app_version)';   

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

LET SessionFileName         = 'governanceSession_$(app_version)';

LET sessionTableName        = '$(serverLogFolder)$(SessionFileName)';

LET monitorAppStatsFile        = '$(serverLogFolder)License_Monitor_Reload_Stats_$(app_version).txt';

SET storeBaseTableFail         = 0;        // If script fails to store base table, set to 1 and do not update LastSuccessfulReloadStartTime variable

LET tempErrorDetails         =  ;

// Set date and time formats

SET TimeFormat        = 'hh:mm:ss';

SET DateFormat        = 'YYYY-MM-DD';

SET TimestampFormat    = 'YYYY-MM-DD hh:mm:ss';

// Calendar Variables

Let vLast4Hours =    Num(timestamp(Now(1)-1/6));        ///  4 hours = 1 day / 24 hours (per day) * 4 hours = 1/6 Days

Let vLast24Hours =    Num(timestamp(Now(1)-1));

Let vLast72Hours =    Num(timestamp(Now(1)-3));

// Colors

set c_red                    = 'RGB(204,102,119)';

set c_yellow                = 'RGB(221,204,119)';

set c_blue                    = 'RGB(68,119,170)';

set c_green                    = 'RGB(17,119,51)';

set c_gray                     = 'RGB(150,150,150)';

set c_lightred                 = 'RGB(240,209,214)';

set c_lightblue             = 'RGB(188,181,201)';

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Another option is to BINARY load the existing monitoring app and reuse it's data.

-Rob

anderseriksson
Partner - Specialist
Partner - Specialist

How do you binary load on Sense server?
I thought binary load in Sense was only possible when you have a QVF?

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I'm told it's possible but haven't tried it myself

-Rob

anderseriksson
Partner - Specialist
Partner - Specialist

I looked in the help-file for it the other day and there is stated it only works from qvf-files not applikations deployed on the Sense server.

rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

I followed the instructions here

Binary load from qvf file in Qlik Sense

It works, but as you pointed out, this is not a supported technique so I withdraw my suggestion to use this as a solution for this poster's requirement.

-Rob

eike_s
Partner - Contributor III
Partner - Contributor III

All Apps are stored in your shared folder like this:

QlikShare\Apps\APPID.qvf

so you can create a data connection to that folder and perform a binary load. I have tried it a long time ago, but it should still work. Not sure if it has any effects on your environment.

anderseriksson
Partner - Specialist
Partner - Specialist

Had a thought about trying that as I guessed those files are actually QVF-files even though they don't have the extension.
Do it at your own risk would be the conclusion.