Standalone or Server configuration file

In this page, the configuration file, which is in .json format, is required for both standalone and Server installations, is explained.

This file can be generated and saved in the following paths:

  • $env:LOCALAPPDATA\Local\Programs\Rulex Platform\resources for the Standalone installation.

  • C:\Program Files\RulexPlatformServer\resources for the Server installation.

{
    "general": {
        "loglevel": "info",
        "log_tags": {
            "broker": false,
            "apiwatcher": false,
            "metrics": false,
            "connectors": false,
            "sensitive": false
        },
        "sensitivity": "BusinessUse",
        "addgroups": True
    }
}

Custom entries

In the table below, all the custom entries in the configuration file are listed.

Name

Description

Type

general.loglevel

The default log level of the application. Possible values are:

  • error

  • warning

  • info

  • debug

string

general.log_tags

An internal object where extra debug logs can be defined. Only effective if loglevel is debug. Possible log tags are:

  • broker: enables broker messaging logs.

  • apiwatcher: enables extra logs for API/batch monitoring.

  • metrics: enables recurrent logs for CPU and RAM metrics through computations.

  • sensitive: enables sensitive logs containing information on flow computation (data source name, options stored, etc). All these logs contain the Message ID SENSITIVE.

  • connectors: enables extra debug logs connected to the failing external connection.

JSON

general.sensitivity

The sensitive label to apply as default to the installation. All exported files from this installation will have the sensitivity label added as prefix, followed by an underscore.

string

general.addgroups

Forces the system to ask the host machine for the user groups at the startup.

boolean