Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE

Count current sessions in Qlik Sense using Qlik-Cli

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Andre_Sostizzo
Digital Support
Digital Support

Count current sessions in Qlik Sense using Qlik-Cli

Last Update:

May 31, 2021 9:48:55 AM

Updated By:

Sonja_Bauernfeind

Created date:

Oct 12, 2016 1:07:48 PM

Qlik Sense Enterprise on Windows allows for the counting of active sessions using its backend APIs.

This can be achieved using Qlik-Cli.

 

Environment:

Qlik Sense Enterprise on Windows 

 

Resolution:

 

  1. Have Qlik-Cli installed and configured (see Installing Qlik-Cli for more insight on how to install and configure Qlik-Cli)
  2. Connect to the Sense site. Example command here(bolded text is configurable): Connect-Qlik -computername QlikSenseServer.company.com -username DOMAIN\UserName
  3. Run Invoke-QlikGet command to the API path. Sample command: Invoke-QlikGet -path https://QlikSenseServer.company.com:4747/engine/healthcheck
  4. Inspect the session JSON response for the number of active sessions:

    jeson response.png
 
Labels (2)
Contributors
Version history
Last update:
‎2021-05-31 09:48 AM
Updated by: