Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified assets/Report-Analyzer.qvf
Binary file not shown.
4 changes: 2 additions & 2 deletions diff/Report-Analyzer.qvf/app-properties.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"qTitle": "Report Analyzer",
"qTitle": "Report Analyzer v1.1.0",
"qThumbnail": {},
"description": "The Report Analyzer provides a comprehensive dashboard to analyze metered report metadata across a Qlik Cloud tenant.\n\nCreated by the Analytics Presales Architecture Team, Qlik\n\n{v1.0.0}",
"description": "The Report Analyzer provides a comprehensive dashboard to analyze metered report metadata across a Qlik Cloud tenant.\n\nCreated by the Analytics Presales Architecture Team, Qlik\n\n{v1.1.0}",
"qUsage": "ANALYTICS",
"published": false,
"hassectionaccess": false
Expand Down
15 changes: 0 additions & 15 deletions diff/Report-Analyzer.qvf/connections.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1 @@
connections:
MyDataFiles:
type: qix-datafiles.exe
connectionstring: CUSTOM CONNECT TO "provider=qix-datafiles.exe;path=mydatafiles;"
username:
password:
DataFiles:
type: qix-datafiles.exe
connectionstring: CUSTOM CONNECT TO "provider=qix-datafiles.exe;path=datafiles;"
username:
password:
DataPrepAppCache:
type: qix-datafiles.exe
connectionstring: CUSTOM CONNECT TO "provider=qix-datafiles.exe;path=dataprepappcache;"
username:
password:
11 changes: 6 additions & 5 deletions diff/Report-Analyzer.qvf/script.qvs
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ SUB variables

SET vIncremental = 1; // Incremental load flag -- default = 1 (active). This can be disabled by setting to 0 (why do that?)

LET vReportsQVD = '$(vOutputQVDName(AuditReports,$(app_version)))';
LET vReportsQVD = '$(vOutputQVDName(AuditReports,$(app_schema_version)))';

LET vIncrementalQVDsAvailable = If(Len(FileTime('$(vReportsQVD)'))>0,1,0); // Check to see that incremental QVDs are available

Expand Down Expand Up @@ -962,7 +962,7 @@ Sub get_audit_reports
FROM "links" PK "__KEY_links_u0" FK "__FK_links_u0")
FROM JSON (wrap on) "root" PK "__KEY_root"
WITH CONNECTION (
URL "https://$(vu_tenant_fqdn)/api/v1/audits?limit=$(vu_audit_page_size)&sort=-eventTime&source=com.qlik/reporting-service&eventType=com.qlik.v1.reporting-service.audit$(vISO_8601_Date_Range)$(vNextURL)"
URL "https://$(vu_tenant_fqdn)/api/v1/audits?limit=$(vu_audit_page_size)&sort=-eventTime&source=com.qlik/reporting-service&eventType=com.qlik.v1.report.finished$(vISO_8601_Date_Range)$(vNextURL)"
);

[appIds]:
Expand Down Expand Up @@ -1145,7 +1145,7 @@ SUB incremental

IF $(vIncrementalQVDsAvailable)=1 THEN

LET qvd_name = '$(vOutputQVDName(AuditReports,$(app_version)))';
LET qvd_name = '$(vOutputQVDName(AuditReports,$(app_schema_version)))';

TRACE Looking to load: $(qvd_name).;
LET file_size = If(IsNull(FileSize('$(qvd_name)')),0,FileSize('$(qvd_name)'));
Expand Down Expand Up @@ -1188,7 +1188,7 @@ SUB incremental

IF NoOfRows('AuditReports')>0 THEN
FOR EACH data_table IN 'AuditReports' //,'AuditReloadLineage','AuditReloadErrors'
LET qvd_name = '$(vOutputQVDName($(data_table),$(app_version)))';
LET qvd_name = '$(vOutputQVDName($(data_table),$(app_schema_version)))';
STORE $(data_table) INTO '$(qvd_name)'(qvd);
LET file_size_$(data_table) = FileSize('$(qvd_name)');
NEXT data_table
Expand Down Expand Up @@ -1443,7 +1443,8 @@ SET comp=;
LET vTenants = 0;

SET app_name = 'Report Analyzer';
SET app_version = '1.0.0';
SET app_version = '1.1.0';
SET app_schema_version = 'sv_1.0.0';
LET comp = ComputerName();
LET engine_ver = PurgeChar(EngineVersion(),Chr(39));
LET start_msg = 'Reloading $(app_name) $(app_version) from $(comp) running QIX Engine version $(engine_ver)';
Expand Down
13 changes: 0 additions & 13 deletions diff/Report-Analyzer.qvf/variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,6 @@
"qDefinition": "='Event'",
"tags": []
},
{
"qInfo": {
"qId": "056520ff-1862-4598-9d0b-93ea2d417df6",
"qType": "variable"
},
"qMetaDef": {},
"qName": "vLatestVersion",
"qNumberPresentation": {
"qType": "U",
"qnDec": 10,
"qUseThou": 0
}
},
{
"qInfo": {
"qId": "57a8abc9-8772-4242-b88c-619dd908c38d",
Expand Down