Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I am trying to use the sense system performance analyzer. It's requirement is to enabe the centralized logging. I tried reading few articles. One of the articles asks me to go to C:\Program Files\Qlik\Sense\Logging\ in QMC or centralized node
However, the logging folder does not even exist there. Is there any other way to enable centralized logging so that we can start using the sense system performance analyzer
Regards
Great! That kind of error should be expected when you turn on the service without the actual database available (or, if you didn't modify the 'main' monitoring apps, every time the monitoring apps are reloaded)
Please try following the kb article I posted in my previous response, and let me know how it goes.
Riccardo
Hi,
Before I proceed to installing the db, I ran the validation command on two different QS servers. Below is two different errors that I am getting
QS server1:
D:\Program Files\Qlik\Sense\Logging>Qlik.Logging.Service.exe validate
Failed to validate logging database. Database does not exist or is an invalid version.
QS server2:
C:\Program Files\Qlik\Sense\Logging>Qlik.Logging.Service.exe validate
Failed to validate the logging database : The Qlik Logging Service is disabled
CentralizedLoggingEnabled: False
LoggingToFileEnabled: True
MaximumDatabaseSizeInGB: Max db size not enforced
DB Host: localhost
DB Name: QLogs
DB Writer User: qlogs_writer
DB Reader User: qlogs_reader
DB Port: 4432
It looks like both servers have their own repository and Qlogs database. If I want to enable centralized logging, which database will be used to collect all the logs from all the nodes? Is there something else I need to do before enabling centralized logging?
Aariz
Hello @AarizShah
When I did the installation on my environment I skipped set the Qlog database (2017 release) after a couple of years I had to investigate how to enable these logs to set up the monitoring apps of Qlik Sense so I did the research as follows:
Thanks! I was also in the same position: Didn't setup centralized logging a few years back. In my case, I wanted to use the "Sense System Performance Analyzer" app (Imported manually from C:\ProgramData\Qlik\Sense\Repository\DefaultApps\ ), but couldn't because it relies on the QLogs data connection, which needs centralized logging to be setup and turned on.
In my case, the steps were a bit different: