Qlik Community

Support Knowledge Base

Search or browse our knowledge base to find answers to your questions ranging from account questions to troubleshooting error messages. The content is curated and updated by our global Support team

Announcements
Customers, Partners & Luminaries only: You're invited to a Data Analytics Roadmap session. Read More

How To Collect Log Files From Qlik Sense Enterprise on Windows

Digital Support
Digital Support

How To Collect Log Files From Qlik Sense Enterprise on Windows



To analyze server installation of Qlik Sense Enterprise on Windows (QSEoW) issues and access problems, Qlik Support will often need access to a full set of current log files and possible archived log files.

NOTE: The method is only applicable for Qlik Sense Enterprise on Windows. 

The Log Collector

 

The best way to gather these logs is to use the Qlik Sense Log Collector. This tool is included with most of the currently available versions of Qlik Sense Enterprise on Windows.

  1. Login to Windows Server on Qlik Sense node
  2. Open Windows File Explorer
  3. Navigate to Log Collector folder at C:\Program Files\Qlik\Sense\Tools\QlikSenseLogCollector
  4. Press Shift key and right click on QlikSenseLogCollector.exe 
  5. Select Run as different user
  6. Enter Qlik Sense service account credentials.
    For more details see What Is the Service Account For Qlik Sense Enterprise on Windows?
  7. Configure log collection
    • Date range to collect logs from (minimum of 5 days if possible)
    • Support case number to include in ZIP file name
    • Select options 
    • Include Archive logs
  8. Click Collect
  9. If Qlik Sense is not automatically accessible on the node, further options are presented.  
    • Qlik Sense is running and on this host
      this option to get more options on automatic log collection
    • Qlik Sense is not running or accessible
      this option allows to define the path to local Qlik Sense log folder
    • Qlik Sense is located elsewhere
      this option allows to enter FQDN of remote Qlik Sense server
  10. Wait until collection is finished
  11. Click Close
  12. Open generated ZIP file in C:\Program Files\Qlik\Sense\Tools\QlikSenseLogCollector
    Note, no need to unzip the file, simple double click on the ZIP file to browse its content
    • Confirm it contains JSON and TXT files, if system info options were enabled in Step 6
    • Confirm there is one folder per node in the deployment, named in same way as the node
    • Confirm there is a Log folder representing Archived Logs from persistent storage
  13. If ZIP content is incomplete, repeat steps above or contact support for further guidance
  14. If ZIP content is accurate, attach ZIP file to support case for further analysis by Qlik

Note: The Log Collector is not officially provided as part of Qlik Sense Enterprise product, but it is included as part of the Qlik Sense installation as means to assist Qlik Support and facilitate the task of log collection. Please report any issues with the tool in Support Tools GitHub site

 

Manually collecting log files

 

If the Qlik Sense Log collector does not work then you can manually gather the logs from the locations listed below. Please note that for reload script logs manual retrieval, see How to find the Script (Reload) logs in Qlik Sense Enterprise
 

Persistence Mechanism Current Logs(Active Logs) Archived Logs

Shared (Sense 3.1 and newer) C:\ProgramData\Qlik\Sense\Log Defined in the QMC under
CONFIGURE SYSTEM > Service Cluster > Archived logs root folder
Example enter (\\QLIKSERVER\QlikShare\ArchivedLogs)
Synchronized (Sense 3.1 and older) C:\ProgramData\Qlik\Sense\Log C:\ProgramData\Qlik\Sense\Repository\Archived Logs

Note: Depending on how long the system has been running, this folder can be very large so you will want to include only logs from the time frame relevant to your particular issue; preferably a day before the issue began occurring.

Logs are moved to the Archived Logs folder during any of the following triggers: service restart, when the log file reaches 8mb in size, or 12 hours after the log file was created.

For more details on the log file structure:
Qlik Sense for Administrators Help: Log Folder Locations

Log Collector Tool Download Link:
https://proactiveportal.qliktech.com/QlikDiagnostics/QlikSenseLogCollector.zip

Labels (2)
Version history
Revision #:
3 of 3
Last update:
‎2020-08-24 04:21 AM
Updated by:
 
Contributors