Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content
Announcements
WEBINAR June 25, 2025: Build on Apache Iceberg with Qlik Open Lakehouse - REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Congrid
Contributor III
Contributor III

In Qlik Cloud, how can I check which user executed the reload of an app?

We know that in Qlik cloud when the reload of an app is performed using the Reload now option on an app, it uses the ID of the user performing this action to do the reload. So this user is required to have access to all the data connections used within the app and be part of the section access if implemented.

In case the reload was done by a scheduled task the owner of the task is the user who should have all the access.

Now, I have a scenario where an app was reloaded by multiple users and scheduled task. When I check the history I can see that sometimes it succeeded and mostly it failed. I want to identify which user was used during each execution of the reload.

How can I check this easily? 

PS: I verified in the detailed log for the run and I cannot find the runas user information in there. 

Labels (2)
3 Replies
rafaelencinas
Partner - Creator
Partner - Creator

Hi ! 

In my option , you have two options:

 

1 - Read logs from Adminsitration Events ( its not easy to identify ) 

rafaelencinas_0-1749040343732.png

 

2 - By Qlik API's

https://qlik.dev/apis/event/apps/#com-qlik-v1-app-reload-finished

rafaelencinas_1-1749040414689.png

 

Bye!

 

 

Senior Qlik Architect
Cobra, Stallone, "You're a problem and I'm the solution"
Congrid
Contributor III
Contributor III
Author

Hi @rafaelencinas,

Thanks for your reply.

You are right the first method is very time consuming since we have many reloads running every hour.

For the 2nd approach with API could you provide some more details on how it can be configured?

Sorry I'm not very familiar with using the API's so any tools that you use for it or a sample example on how to run it would help me.

rafaelencinas
Partner - Creator
Partner - Creator

You can check this link, to install a QLIK CLI in your windows.

https://community.qlik.com/t5/Official-Support-Articles/How-to-install-Qlik-CLI-for-Qlik-Sense-on-Wi...

 

After install, you must have read the documentation to understand how to get all information you need,

For example

----------------

#Where is the documentation
https://qlik.dev/toolkits/qlik-cli/

#Enable UTF8 in PowerShell
[console]::OutputEncoding = New-Object System.Text.UTF8Encoding($true)

#How to check the PowerShell language
Get-Culture

#Install qlik-cli using Choco
choco install qlik-cli

#To initialize the client environment
#Example: yourtenant.us.qlikcloud.com / Paste the Authorization and press Enter
qlik context init

#Activate the tenant
qlik context use yourtenant.us.qlikcloud.com

#Note: Where the configuration files are located
c:\Users\%username%\.qlik\

#Example of how to import a file to the Cloud
qlik app import -f .\TESTE.qvf

#How to list an item in the Cloud
qlik item ls --resourceType app --appname "01_Mara.qvs"
qlik item ls --resourceType app --appname "TESTE.qvf"

#How to list all items in the Cloud
qlik app ls

#How to pull the source code of an app
qlik app script get --app "01_Mara.qvs" > 01_Mara.qvs

#How to import a script into an App
qlik app script set .\01_Mara.qvs --app "Teste Encinas" --verbose

 

Bye!

 

 

 

 

Senior Qlik Architect
Cobra, Stallone, "You're a problem and I'm the solution"