Skip to main content
Announcements
Talend Data Catalog 8.0 End of Support: December 31, 2024 Get Details

How To Collect Log Files From Qlik Sense Enterprise on Windows

86% helpful (6/7)
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How To Collect Log Files From Qlik Sense Enterprise on Windows

Last Update:

Apr 17, 2024 2:50:06 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 19, 2015 7:27:22 AM

Attachments

The Qlik Sense log files can be easily collected using the Log Collector

The Log Collector is embedded in the Qlik Sense Management Console. It is the last item listed in the Configure Systems section.

log collector.png

For instructions on how to use the Log Collector, see Log collector (help.qlik.com).

Content

 

Requirements

The user must be a root admin and have administrative permissions.

Using the Log Collector

The best way to gather these logs is to use the Qlik Sense Log Collector. If the tool is not included in your install, it can be downloaded from this article. 

  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.
  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

What does the Qlik Sense Log Collector access?

This list provides an overview of what system information the Qlik Sense Log collector accesses and collects.

  • WhoAmI (information)
    C:\Windows\System32\whoami.exe
  • Port status (information)
    C:\Windows\System32\netstat.exe -anob
  • Process Info (information)
    C:\Windows\System32\tasklist.exe /v
  • Firewall Info (information)
    C:\Windows\System32\netsh.exe advfirewall show allprofiles
  • Network Info (information)
     C:\Windows\System32\ipconfig.exe /all
  • IIS Status (iisreset /STATUS Display the status of all Internet services.)
     C:\Windows\System32\iisreset.exe /status
  • Proxy Activated (information)
     C:\Windows\System32\reg.exe query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | find /i "ProxyEnable"
  • Proxy Server (information)
     C:\Windows\System32\reg.exe query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | find /i "proxyserver" 
  • Proxy AutoConfig (information)
     C:\Windows\System32\reg.exe query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | find /i "AutoConfigURL" 
  • Proxy Override (information)
     C:\Windows\System32\reg.exe query "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings" | find /i "ProxyOverride" 
  • Internet Connection (information)
     C:\Windows\System32\ping.exe google.com
  • Drive Mappings (information)
     C:\Windows\System32\net.exe use
  • Drive Info (information)
     C:\Windows\System32\wbem\wmic.exe /OUTPUT:STDOUT logicaldisk get size
  • Localgroup Administrators (information)
     C:\Windows\System32\net.exe localgroup "Administrators"
  • Localgroup Sense Service Users (information)
     C:\Windows\System32\net.exe localgroup "Qlik Sense Service Users"
  • Localgroup Performance Monitor Users (information)
     C:\Windows\System32\net.exe localgroup "Performance Monitor users"
  • Localgroup Qv Administrators (information)
     C:\Windows\System32\net.exe localgroup "QlikView Administrators"
  • Localgroup Qv Api (information)
     C:\Windows\System32\net.exe localgroup "QlikView Management API"
  • System Information (information)
     C:\Windows\System32\systeminfo.exe
  • Program List (information)
     C:\Windows\System32\wbem\wmic.exe /OUTPUT:STDOUT product get name
  • Service List (information)
     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "gwmi win32_service | select Started
  • Group Policy (information)
    C:\Windows\System32\gpresult.exe /z
  • Local Policies - User Rights Assignment (information)
     C:\Windows\System32\secedit.exe /export /areas USER_RIGHTS /cfg
  • Local Policies - Security Options (information)
     C:\Windows\System32\secedit.exe /export /areas
  • Certificate - Current User(Personal) (information)
     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "Get-ChildItem -Recurse Cert:\currentuser\my | Format-list"
  • Certificate - Current User(Trusted Root) (information)
     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "Get-ChildItem -Recurse Cert:\currentuser\Root | Format-list"
  • Certificate - Local Computer(Personal) (information)
     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "Get-ChildItem -Recurse Cert:\localmachine\my | Format-list"
  • Certificate - Local Computer(Trusted Root) (information)
     C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -command "Get-ChildItem -Recurse Cert:\localmachine\Root | Format-list"
  • HotFixes (information)
    $FormatEnumerationLimit=-1;$Session = New-Object -ComObject Microsoft.Update.Session;$Searcher = $Session.CreateUpdateSearcher();$historyCount = $Searcher.GetTotalHistoryCount();$Searcher.QueryHistory(0, $historyCount) | Select-Object Title, Description, Date, @{name="Operation"; expression={switch($_.operation){1 {"Installation"}; 2 {"Uninstallation"}; 3 {"Other"}}}} | out-string -Width 1024
  • UrlAclList (information)
     C:\Windows\System32\netsh.exe http show urlacl
  • PortCertList (information)
     C:\Windows\System32\netsh.exe http show sslcert

Manually collecting log files

Any versions of Qlik Sense Enterprise on Windows prior to May 2021, do not include the Log Collector.

If the Qlik Sense Log collector does not work then you can manually gather the logs.

For information on when logs are archived, see How logging works in Qlik Sense Enterprise on Windows.

Older Qlik Sense Versions (3.1 and earlier)

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.

Related Content

How logging works in Qlik Sense Enterprise on Windows 

Tags (1)
Labels (1)
Comments
nata_ka
Contributor
Contributor

need extra time. Thanks for the video!

Vikas_Chauhan
Contributor
Contributor

Nice session , really helpful. Thanks 

Raju_6952
Creator III
Creator III

Hi @Sonja_Bauernfeind ,

 

How can we collect the logs if qmc is not accessible,will theog collector exe file will help to collect the logs that is available under external tools option.

 

Regards,

Raju

 

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Raju_6952 

The log collector is stored in %Install Directory%\Qlik\Sense\Tools\QlikSenseLogCollector

All the best,
Sonja 

DebanjanKabiraj
Contributor
Contributor

The description for Event ID 0 from source PostgreSQL cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

2024-09-17 17:02:03.088 IST [5784] FATAL: no pg_hba.conf entry for host "fe80::687a:5992:c70a:f37%9", user "qliksenserepository", database "SenseServices", no encryption

Version history
Last update:
‎2024-04-17 02:50 AM
Updated by: