Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Maybe I've missed this but I've searched and tried all management modules in Qlik Cloud.
Is there a way to view running tasks/reloads anywhere?
Hi @qlikster ,
this can be achieved by quering the /api/v1/reloads APIs.
For instance, after authenticating to your tenant, you can go to https://TENANT.REGION.qlikcloud.com/api/v1/reloads
You will get a list of reloads like this, with the latest ones on top:
{
"data": [
{
"id": "65c9d6ce285671525ea59509",
"appId": "bfef24dc-4308-4444-9e2d-1ef2b8077c44",
"tenantId": "BZOrFeLtFE2FXJqzDmamnnhS9c4jvA4D",
"userId": "61m9lscMGmtsh9q95y_51NNZpv_6bV62",
"type": "chronos",
"status": "RELOADING",
"partial": false,
"creationTime": "2024-02-12T08:29:02Z",
"startTime": "2024-02-12T08:29:03.74Z",
"links": {
"self": {
"href": "https://tnant.region.qlikcloud.com/api/v1/reloads/65c9d6ce285671525ea59509"
}
}
},
{
"id": "65c9d61bdf8dbfa0f331ae75",
"appId": "bfef24dc-4308-4444-9e2d-1ef2b8077c44",
"tenantId": "BZOrFeLtFE2FXJqzDmamnnhS9c4jvA4D",
"userId": "61m9lscMGmtsh9q95y_51NNZpv_6bV62",
"type": "chronos",
"status": "SUCCEEDED",
"log": "ReloadID: 65c9d61bdf8dbfa0f331ae75\nStarted loading data\n(A detailed script progress log can be downloaded when the reload is finished)\nApp saved\nFinished successfully\n",
"partial": false,
"creationTime": "2024-02-12T08:26:03Z",
"startTime": "2024-02-12T08:26:04.267Z",
"endTime": "2024-02-12T08:26:05.83Z",
"engineTime": "2024-02-12T08:26:05.261Z",
"links": {
"self": {
"href": "https://tenant.region.qlikcloud.com/api/v1/reloads/65c9d61bdf8dbfa0f331ae75"
}
}
},
(please note: on some browsers, you might need an extension to format the json text in a nice way like above).
You can then check which tasks (on top) are in "status": "RELOADING" or "QUEUED".
You can also use the qlik command line "qlik reload -v ls" to get the same.
If you have any suggestion about what to add/improve in the product, please feel free to suggest an idea.
Since the end of March we now have the global task monitor in the UI, so there is no longer need to use the APIs.
https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Refresh/refresh-monitor-...
Hi @qlikster ,
this can be achieved by quering the /api/v1/reloads APIs.
For instance, after authenticating to your tenant, you can go to https://TENANT.REGION.qlikcloud.com/api/v1/reloads
You will get a list of reloads like this, with the latest ones on top:
{
"data": [
{
"id": "65c9d6ce285671525ea59509",
"appId": "bfef24dc-4308-4444-9e2d-1ef2b8077c44",
"tenantId": "BZOrFeLtFE2FXJqzDmamnnhS9c4jvA4D",
"userId": "61m9lscMGmtsh9q95y_51NNZpv_6bV62",
"type": "chronos",
"status": "RELOADING",
"partial": false,
"creationTime": "2024-02-12T08:29:02Z",
"startTime": "2024-02-12T08:29:03.74Z",
"links": {
"self": {
"href": "https://tnant.region.qlikcloud.com/api/v1/reloads/65c9d6ce285671525ea59509"
}
}
},
{
"id": "65c9d61bdf8dbfa0f331ae75",
"appId": "bfef24dc-4308-4444-9e2d-1ef2b8077c44",
"tenantId": "BZOrFeLtFE2FXJqzDmamnnhS9c4jvA4D",
"userId": "61m9lscMGmtsh9q95y_51NNZpv_6bV62",
"type": "chronos",
"status": "SUCCEEDED",
"log": "ReloadID: 65c9d61bdf8dbfa0f331ae75\nStarted loading data\n(A detailed script progress log can be downloaded when the reload is finished)\nApp saved\nFinished successfully\n",
"partial": false,
"creationTime": "2024-02-12T08:26:03Z",
"startTime": "2024-02-12T08:26:04.267Z",
"endTime": "2024-02-12T08:26:05.83Z",
"engineTime": "2024-02-12T08:26:05.261Z",
"links": {
"self": {
"href": "https://tenant.region.qlikcloud.com/api/v1/reloads/65c9d61bdf8dbfa0f331ae75"
}
}
},
(please note: on some browsers, you might need an extension to format the json text in a nice way like above).
You can then check which tasks (on top) are in "status": "RELOADING" or "QUEUED".
You can also use the qlik command line "qlik reload -v ls" to get the same.
If you have any suggestion about what to add/improve in the product, please feel free to suggest an idea.
Is not it a good idea to view the running tasks in management console rather than through api like we see in client managed Qlik Sense ?
Hi @sanrout ,
it is definitely a good idea! I'd recommend that you post any suggestion you might have on the ideation page, so that we can gather consensus around it.
@Daniele_Purrone do you have any example of the steps to use this api in a rest connection, for a saas tenant? including how to authenticate it in the rest connection?
Hi @Ken_T
you can simply create a connection:
and then a bit more down fill in the "Query headers" section with "Authorization" and "Bearer " followed by your API key.
Note the new endpoint, as we are migrating to a namespaced format for APIs.
Since the end of March we now have the global task monitor in the UI, so there is no longer need to use the APIs.
https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Refresh/refresh-monitor-...
@Daniele_Purrone awesome feature!
This is awesome!
Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com