Qlik Sense Logging Service can be setup during or after installation. The simplest approach is to simply use the existing PostgreSQL software installed with Qlik Sense when the database is hosted on the central node. However, a dedicated PostgreSQL server may also be used.
Note: If your password for any of these accounts has special characters, you may need to wrap the password in double quotes. Example: --postgres_pswd "p@$$\/\/0rd". Strictly speaking the special characters for Windows command line are <, >, |, &, and ^. But wrapping the passwords in double quotes will eliminate any confusion here. Note: This was written assuming a default installation path. You may need to adjust the path from "C:\Program Files\Qlik\Sense\Logging"\ to your installation path. Note: The FQDN of your database is the Fully Qualified Domain Name such as servername.domain
There are additional configuration options available for the logging service. You may review the list by typing in the command line qlik.Logging.Service.exe /? Among useful options the below is listed: --archive_age_in_days n After n days, logs will be moved from the main tables to archive tables in the database, to help keep the log process performant --purge_age_in_days n After n days, logs in the Archived table will be permanently deleted to prevent the database from growing too large --maximum_db_size_in_gb nLog entries will be automatically deleted when the database reached n GB in size, starting with entries in the archived table, then if necessary logs in the main tables as well.