Skip to main content

The Qlik Sense Engine Traffic Log level

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

The Qlik Sense Engine Traffic Log level

Last Update:

Aug 11, 2021 3:42:51 AM

Updated By:

Sonja_Bauernfeind

Created date:

Mar 21, 2017 5:15:15 PM

The Traffic logging level of the Qlik Sense Engine logs the JSON traffic exchanged in the WebSocket connection between the Engine and any client into a text file. It is turned off by default.

While this is useful in diagnostic situations, this logging level is extremely verbose and should be used with caution and only in circumstances where there is an explicit need for its information. Such situations are connectivity errors or connection stability issues that could not be investigated using lower levels of logging.

The main performance bottleneck when turning on this logging level is CPU consumption needed to capture and write the verbose traffic between the Engine and client.

See the appendix of the article for more information on performance impact. 

 

How to enable Traffic Logging

Traffic Logging is a logging level available in the Qlik Sense Engine logging settings. By default, it is disabled.

Note: Only enable this when there is an explicit need to and only short-term. Substantial performance degradation is expected. 

  1. Open the Qlik Sense Management Console
  2. Navigate to Engines 
  3. Locate the engine you wish to edit and click Edit
  4. In the General section, locate Tracing
  5. Traffic log level is the last option listed.
  6. Set it from Off to On
  7. Restart the following Qlik Sense Services:
    • Qlik Sense Engine Service
    • Qlik Sense Service Dispatcher
  8. Repeat on all Engine nodes as applicable

 

How to disable Traffic Logging

Traffic Logging is a logging level available in the Qlik Sense Engine logging settings. By default, it is disabled.

Note: Only enable this when there is an explicit need to and only short-term. Substantial performance degradation is expected. 

  1. Open the Qlik Sense Management Console
  2. Navigate to Engines 
  3. Locate the engine you wish to edit and click Edit
  4. In the General section, locate Tracing
  5. Traffic log level is the last option listed.
  6. Set it from On to Off
  7. Restart the following Qlik Sense Services:
    • Qlik Sense Engine Service
    • Qlik Sense Service Dispatcher
  8. Repeat on all Engine nodes as applicable

 

Performance Impact

In a testing scenario with 200 concurrent users accessing a basic application, the processor performance impact can be seen as follows:

performance impact CPU traffic logging.png

RAM consumption is as follows:

performance impact RAM traffic logging.png

The RAM impact of Traffic logging is minimal whereas there is a ~23% increase in CPU utilization with traffic logging enabled.

Labels (1)
Comments
QFabian
Specialist III
Specialist III

very useful information!, thanks @Andre_Sostizzo 

Contributors
Version history
Last update:
‎2021-08-11 03:42 AM
Updated by: