Reports
Emitted when the processing of a report has completed, whether it succeeded or failed. It carries the report data and the outcome, and it is immediately followed by the report finished event, unless the latter is suppressed by configuration. It is not emitted for the parent request of a cycle-based request, but it is emitted for each report generated by the cycle.
Payload
object- id stringRequired
Identifies the event.
- time string
Timestamp of when the occurrence happened. Must adhere to RFC 3339.
- type stringRequired
Unique identifier for the event type.
Can be one of: "com.qlik.v1.report.collected"
- source stringRequired
Identifies the context in which an event happened.
- specversion stringRequired
The version of the CloudEvents specification which the event uses.
- datacontenttype string
Content type of the data value. Must adhere to RFC 2046 format.
- userid string
Unique identifier for the user triggering the event.
- authtype string
Representing the type of principal that triggered the occurrence.
- tenantid stringRequired
Unique identifier for the tenant related to the event.
- authclaims string
A JSON string representing claims of the principal that triggered the event.
- data objectRequired
The data payload for a report processing event.
data properties
- act object
The actor on whose behalf, or through which, the request was made, taken from the act claim of the access token (RFC 8693). It is present only when the request was made by a party acting for the principal identified by subject, for example a service acting for a user.
act properties
- issuer string
Identifier of the issuer of the acting party's identity.
- subject string
Identifier of the acting party (the sub claim of the act claim).
- subtype string
Type of the acting party, for example user or service.
-
- tags array of strings
Array of tags sent by requester client.
- issuer string
The issuer of the request from the jwt
- reports objectRequired
The summary information on the triggered request
reports properties
- meta object
Report meta info
meta properties
- outputTtlSecs integer
Seconds to live of the final result artifacts
- exportDeadlineSecs integer
The maximum interval in seconds, starting from the time the API request is received, within which a report must be produced
-
- results array of objectsRequired
Array of results that occurred during report generation.
results properties
- errors array of objects
Array of errors that occurred during report generation.
errors properties
- code stringRequired
The unique code for the error.
- chartId string
Chart id.
- chartType string
Chart type.
-
- format string
The output format
- success booleanRequired
The flag indicating a successful report generation [true, false]
- outputId stringRequired
The outputId [Chart_image, Chart_pdf, chart_excel, Sheet_pdf, Multisheet_PDF].
- sizeBytes integer
output size in bytes
- timeMsecs integerRequired
The time elapsed in milliseconds
- dataExport object
Excel export info
dataExport properties
- vizType string
visualization type
- cellCount integer
cell data count
- rowNumber integer
number of data rows
- columnNumber integer
number of data columns
-
- serverError booleanRequired
The flag indicating if there is a server/backend error
-
- loadType stringRequired
Identifies the request load type that determines the engine workload. "interactive" is used for interactive downloads from the Sense UI. "batch" is used for scheduled reports. "anonymous-batch" is used for reports requested by anonymous users.
- templates objectRequired
The template of the request: template holds a single template, compositionTemplates holds the ordered list of templates when the request is a composition.
templates properties
- template object
The object with information for templateType
template properties
- appId stringRequired
The unique identifier of the app the request is related to.
- objectId stringRequired
The unique identifier of the app's object the report is related to.
- templateType stringRequired
Template type and version using semantic versioning [composition-1.0 sense-image-1.0 sense-data-1.0 ... etc], Refer to API docs for the full list
-
- compositionTemplates array of objects
Array of templates defining a composition
compositionTemplates properties
- appId stringRequired
The unique identifier of the app the request is related to.
- objectId stringRequired
The unique identifier of the app's object the report is related to.
- templateType stringRequired
Template type and version using semantic versioning [composition-1.0 sense-image-1.0 sense-data-1.0 ... etc], Refer to API docs for the full list
-
-
- templateType stringRequired
Template type and version using semantic versioning [composition-1.0 sense-image-1.0 sense-data-1.0 ... etc], Refer to API docs for the full list
-
- subject string
The subject of the request from the jwt
- subtype string
The subtype of the request from the jwt
- traceId stringRequired
telemetry trace ID
- version stringRequired
Version of the EventType, it uses semantic versioning.
- clientId string
The unique ID identifying the client
- reportId stringRequired
Unique identifier of the report. It is an opaque string, consumers must not parse it or rely on its format.
- requestId stringRequired
The unique ID identifying the request
- consumption objectRequired
Resource consumption of the report generation. All durations are expressed in milliseconds.
consumption properties
- level any
- endTime stringRequired
timestamp of when the response is ready.
- cellCount integer
Total number of data cells exported.
- startTime stringRequired
timestamp of when the request arrives.
- objectCount integerRequired
exported object count
- maxCellCount integer
cell count of biggest data export
- minCellCount integer
cell count of the smallest data export
- variableCount integer
Number of variables applied to the report.
- taskRetryCount integer
Number of times tasks of the report were retried after a failure.
- senseSheetCount integerRequired
Number of sheets in the request
- dataDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
dataDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- queuingDelayStat object
Statistics of a set of timed operations. All durations are in milliseconds.
queuingDelayStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- taskDurationStat any
- chartDurationStat any
- tcsUploadTimeMsecs integerRequired
Total time in milliseconds spent uploading the generated report to the storage service.
- exportDurationMsecs integerRequired
Total elapsed time in milliseconds from the arrival of the request to the completion of the report generation, including queuing time.
- openAppDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
openAppDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- renderedDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
renderedDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- applyFilterDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
applyFilterDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- compositionDurationMsecs integer
Time in milliseconds spent composing the final output from the generated parts, for composition and template-based reports.
- applyVariablesDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
applyVariablesDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
-
- originalURL string
The Original URL of the caller.
- globalResult stringRequired
All reports succeeded is "success", all reports failed is "failed", else is "partial".
Can be one of: "success""partial""failed"
- browserLikeOrigin booleanRequired
The flag indicating the request is likely coming from a client.
-
com.qlik.v1.report.collected
Example payload of the "Report processing data collected" event
{ "id": "A234-1234-1234", "time": "2024-01-15T10:30:00Z", "type": "com.qlik.v1.report.collected", "source": "com.qlik/reporting-service", "specversion": "1.0", "datacontenttype": "application/json", "userid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authtype": "user", "tenantid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authclaims": "{\"sub\":\"VZhiEfgW2bLd7HgR-jjzAh6VnicipweT\"}", "data": { "reports": { "results": [ { "success": true, "outputId": "Chart_image", "timeMsecs": 150, "serverError": false } ], "loadType": "batch", "templates": { "template": { "appId": "ba2af9e6-0489-49a9-ae4d-8bf4a187f3c5", "objectId": "uarJk", "templateType": "sense-image-1.0" } }, "templateType": "sense-image-1.0" }, "traceId": "0af7651916cd43dd8448eb211c80319c", "version": "1.5.0", "reportId": "47604fcb-a07d-4549-92a4-38fe11e5eff8:0", "requestId": "47604fcb-a07d-4549-92a4-38fe11e5eff8", "consumption": { "endTime": "2018-10-30T07:06:22Z", "startTime": "2018-10-30T07:06:22Z", "objectCount": 1, "senseSheetCount": 1, "tcsUploadTimeMsecs": 20, "exportDurationMsecs": 500 }, "globalResult": "success", "browserLikeOrigin": true }}Event emitted when a cycle-based request has generated its individual report requests. A cycle-based request uses template cycle fields to produce multiple reports. Each generated report emits its own report collected and report finished events, while no report finished event is emitted for the parent request.
Payload
object- id stringRequired
Identifies the event.
- time string
Timestamp of when the occurrence happened. Must adhere to RFC 3339.
- type stringRequired
Unique identifier for the event type.
Can be one of: "com.qlik.v1.report.triggered"
- source stringRequired
Identifies the context in which an event happened.
- specversion stringRequired
The version of the CloudEvents specification which the event uses.
- datacontenttype string
Content type of the data value. Must adhere to RFC 2046 format.
- userid string
Unique identifier for the user triggering the event.
- authtype string
Representing the type of principal that triggered the occurrence.
- tenantid stringRequired
Unique identifier for the tenant related to the event.
- authclaims string
A JSON string representing claims of the principal that triggered the event.
- data objectRequired
The data payload for a report processing event.
data properties
- act object
The actor on whose behalf, or through which, the request was made, taken from the act claim of the access token (RFC 8693). It is present only when the request was made by a party acting for the principal identified by subject, for example a service acting for a user.
act properties
- issuer string
Identifier of the issuer of the acting party's identity.
- subject string
Identifier of the acting party (the sub claim of the act claim).
- subtype string
Type of the acting party, for example user or service.
-
- tags array of strings
Array of tags sent by requester client.
- issuer string
The issuer of the request from the jwt
- reports objectRequired
The summary information on the triggered request
reports properties
- meta object
Report meta info
meta properties
- outputTtlSecs integer
Seconds to live of the final result artifacts
- exportDeadlineSecs integer
The maximum interval in seconds, starting from the time the API request is received, within which a report must be produced
-
- results array of objectsRequired
Array of results that occurred during report generation.
results properties
- errors array of objects
Array of errors that occurred during report generation.
errors properties
- code stringRequired
The unique code for the error.
- chartId string
Chart id.
- chartType string
Chart type.
-
- format string
The output format
- success booleanRequired
The flag indicating a successful report generation [true, false]
- outputId stringRequired
The outputId [Chart_image, Chart_pdf, chart_excel, Sheet_pdf, Multisheet_PDF].
- sizeBytes integer
output size in bytes
- timeMsecs integerRequired
The time elapsed in milliseconds
- dataExport object
Excel export info
dataExport properties
- vizType string
visualization type
- cellCount integer
cell data count
- rowNumber integer
number of data rows
- columnNumber integer
number of data columns
-
- serverError booleanRequired
The flag indicating if there is a server/backend error
-
- loadType stringRequired
Identifies the request load type that determines the engine workload. "interactive" is used for interactive downloads from the Sense UI. "batch" is used for scheduled reports. "anonymous-batch" is used for reports requested by anonymous users.
- templates objectRequired
The template of the request: template holds a single template, compositionTemplates holds the ordered list of templates when the request is a composition.
templates properties
- template object
The object with information for templateType
template properties
- appId stringRequired
The unique identifier of the app the request is related to.
- objectId stringRequired
The unique identifier of the app's object the report is related to.
- templateType stringRequired
Template type and version using semantic versioning [composition-1.0 sense-image-1.0 sense-data-1.0 ... etc], Refer to API docs for the full list
-
- compositionTemplates array of objects
Array of templates defining a composition
compositionTemplates properties
- appId stringRequired
The unique identifier of the app the request is related to.
- objectId stringRequired
The unique identifier of the app's object the report is related to.
- templateType stringRequired
Template type and version using semantic versioning [composition-1.0 sense-image-1.0 sense-data-1.0 ... etc], Refer to API docs for the full list
-
-
- templateType stringRequired
Template type and version using semantic versioning [composition-1.0 sense-image-1.0 sense-data-1.0 ... etc], Refer to API docs for the full list
-
- subject string
The subject of the request from the jwt
- subtype string
The subtype of the request from the jwt
- traceId stringRequired
telemetry trace ID
- version stringRequired
Version of the EventType, it uses semantic versioning.
- clientId string
The unique ID identifying the client
- reportId stringRequired
Unique identifier of the report. It is an opaque string, consumers must not parse it or rely on its format.
- requestId stringRequired
The unique ID identifying the request
- consumption objectRequired
Resource consumption of the report generation. All durations are expressed in milliseconds.
consumption properties
- level any
- endTime stringRequired
timestamp of when the response is ready.
- cellCount integer
Total number of data cells exported.
- startTime stringRequired
timestamp of when the request arrives.
- objectCount integerRequired
exported object count
- maxCellCount integer
cell count of biggest data export
- minCellCount integer
cell count of the smallest data export
- variableCount integer
Number of variables applied to the report.
- taskRetryCount integer
Number of times tasks of the report were retried after a failure.
- senseSheetCount integerRequired
Number of sheets in the request
- dataDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
dataDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- queuingDelayStat object
Statistics of a set of timed operations. All durations are in milliseconds.
queuingDelayStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- taskDurationStat any
- chartDurationStat any
- tcsUploadTimeMsecs integerRequired
Total time in milliseconds spent uploading the generated report to the storage service.
- exportDurationMsecs integerRequired
Total elapsed time in milliseconds from the arrival of the request to the completion of the report generation, including queuing time.
- openAppDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
openAppDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- renderedDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
renderedDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- applyFilterDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
applyFilterDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
- compositionDurationMsecs integer
Time in milliseconds spent composing the final output from the generated parts, for composition and template-based reports.
- applyVariablesDurationStat object
Statistics of a set of timed operations. All durations are in milliseconds.
applyVariablesDurationStat properties
- failedCount integer
The number of failed exports
- sampleCount integer
Total sample count
- maxDurationMsecs integer
Max duration in milliseconds
- minDurationMsecs integer
Min duration in milliseconds
- totDurationMsecs integer
Total duration in milliseconds
-
-
- originalURL string
The Original URL of the caller.
- globalResult stringRequired
All reports succeeded is "success", all reports failed is "failed", else is "partial".
Can be one of: "success""partial""failed"
- browserLikeOrigin booleanRequired
The flag indicating the request is likely coming from a client.
-
com.qlik.v1.report.triggered
Example payload of the "Cycle-based report generation triggered" event
{ "id": "A234-1234-1234", "time": "2024-01-15T10:30:00Z", "type": "com.qlik.v1.report.triggered", "source": "com.qlik/reporting-service", "specversion": "1.0", "datacontenttype": "application/json", "userid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authtype": "user", "tenantid": "VZhiEfgW2bLd7HgR-jjzAh6VnicipweT", "authclaims": "{\"sub\":\"VZhiEfgW2bLd7HgR-jjzAh6VnicipweT\"}", "data": { "reports": { "results": [ { "success": true, "outputId": "Chart_image", "timeMsecs": 150, "serverError": false } ], "loadType": "batch", "templates": { "template": { "appId": "ba2af9e6-0489-49a9-ae4d-8bf4a187f3c5", "objectId": "uarJk", "templateType": "sense-image-1.0" } }, "templateType": "sense-image-1.0" }, "traceId": "0af7651916cd43dd8448eb211c80319c", "version": "1.5.0", "reportId": "47604fcb-a07d-4549-92a4-38fe11e5eff8:0", "requestId": "47604fcb-a07d-4549-92a4-38fe11e5eff8", "consumption": { "endTime": "2018-10-30T07:06:22Z", "startTime": "2018-10-30T07:06:22Z", "objectCount": 1, "senseSheetCount": 1, "tcsUploadTimeMsecs": 20, "exportDurationMsecs": 500 }, "globalResult": "success", "browserLikeOrigin": true }}