In this article:
All general settings of Foresight Analytics Platform are saved in the [HKEY_LOCAL_MACHINE] registry key, in the System subsection:
[HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System].
One can also create additional subsections or single parameters in the key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0] that are used in BI server work:
Audit. Credentials of service user of security subsystem.
Cubes. The settings used for creating a chain of BI servers.
Service. Access points to various BI servers.
InMem. Settings that determine InMemory MOLAP data caching mode.
SysLogServer. The settings that determine connection parameters to syslog server to send messages about auditing events.
Debug. The settings used for algorithm calculation, getting debug info during the work with data cubes.
Nav. The settings used by the object navigator.
Sec. The settings that affect platform security subsystem work.
Pivot. The settings used for tables.
These sections include subsections, for which different parameters can be set.
NOTE. All parameters created in these subsections have string type. The parameters that take only integer values can be created with the REG_DWORD type.
Registry file example: settings_reg.zip.
This section is used to create a parameter that affects the work of web service:
| Parameter | Description |
| GetSystemInfoExtended | Get extended information about platform version, repository session, resources used by BI server when executing the GetSystemInfo web service operation with the specified fields processInfo and cpuInfo. The operation is also affected by the presence of moniker in the metabase field and value of the allowMetabaseNotFound field that returns an error if there is no repository connection. Available values of the GetSystemInfoExtended parameter:
The GetSystemInfoExtended parameter also affects how the service version is displayed in the About window in the web application. If the value is 0, service version is not displayed, if the value is 1, service version is displayed. |
| AllowDevEnv | Indicates whether the use can work in the development environment. Available values:
|
| WebSocketDisableIpv6 | Indicates whether WebSocket work via the IPv6 protocol is disabled. In Foresight Analytics Platform, WebSocket is used to provide the work of web forms and the Business Process Management extension. By default, the work is executed via the IPv6 protocol. Available values:
|
The key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System\Session] is used to create the parameters that affect the work of single repository sessions:
| Parameters | Description |
| RWLockSlim | It locks access to opened object instances. Available values:
|
| LockSession | It locks the entire session on processing requests. When the lock is enabled, requests to all objects within the session are executed one by one, otherwise they are executed concurrently, or individual locks are used (RWLockSlim). Available values:
|
| LockAd | It locks access to opened dashboard instances. When the lock is enabled, read/write requests are executed one by one, otherwise they are executed concurrently. The lock is also enabled for nested objects accessed using the dashboard moniker. Available values:
|
| TimeoutSec | Period of inactivity (no requests), after which a session with repository is closed. The time is set in seconds, the allowed range - [60, 127800]. If the parameter is set to -1, the timeout two weeks is set. Default value: 1800 seconds. |
| Statable | Object state save and restore mode at state server. It is used with the StateServer settings group. Available values:
|
| ObjectStateSaveInterval | The time interval after the last saving of object state, after which, if the object is changed, the new state will be saved. The parameter is relevant if the Statable parameter is set to Yes. The interval is set in seconds, the allowed range - [5, 300]. If the ObjectStateSaveInterval parameter is not set, is empty, or less or equal to 0, the interval is not taken into account, and the object state is saved after each object change. If the ObjectStateSaveInterval parameter is set, in case of object change, the system checks if the specified time interval is over after the last saving of the state:
|
| KeyIncr | Generate consecutive session and object monikers. Available values:
|
| SecureSession | Additional check of correspondence between the client who opened the session and identifier of the session at each BI server query. It prevents XSS attacks. Available values:
For details about web application work via the HTTPS protocol see the Setting Up Web Application Work via HTTPS section. |
| StoreBins | It sets a limit for the number of export results stored on the server with each object (for express reports and regular reports). |
| StoreBinSize | Maximum total size of loaded binary objects within the session. The size is indicated in bytes by default. If B, K or M Latin character is specified after the value, the value size is set in bytes, kilobytes, or megabytes respectively. The default value is 0, and the loaded volume is not limited. |
| PoolMaxConnections | It sets a limit to the number of repository database connections. Available values:
NOTE. The PoolMaxConnections parameter is outdated, it is left for compatibility with previous versions of Prognoz Platform. Use the MaxConnections parameter in the registry key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System\Pool]. |
| GetStatusMode | Processing mode of the GetStatus operation that is used in the web application to check connection status. Available values:
|
Other System subsections to set up BI server:
| Subsection | Keys |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Pool] |
The parameters that affect operation of BI server application pool:
Additional subsections that contain parameters for specific repositories can also be created in the Pool subsection. A created additional subsection must have a unique name. It can be used to create the following parameters:
NOTE. Connection pool parameters are applied, if the MaxConnections parameter value is greater than zero. |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\StateServer] |
Parameters of connection to state server.
To set up state server, make sure to set one of the values depending on the application.
To set up authentication on state server, create the Credentials subsection and set the Crs and Crsa parameters. In the parameters specify user credentials to connect to state server in encrypted form. Encrypted values of the parameters can be obtained using the PP.Util utility and the /encrypt_creds parameter. |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Cert] |
This subsection stores private key of the security certificate. Parameters of this registry subsection are created at the runtime of PP.Util utility.
IMPORTANT. Parameters of this subsection must not be edited manually. |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Mbs] |
Parameters of objects for statistics collection. In this subsection the user needs to create additional subsections with names matching repository identifier. A parameter can be created in each additional subsection:
|
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\OAuth] |
Work parameters via the OAuth 2.0 or OpenID Connect protocol for user authentication on external servers that support this protocol. When authentication is executed via external services, a connection between the client and the BI server must be set up via the HTTPS protocol. The state parameter is checked by default to protect from potential CSRF attacks on getting authorization code. If connection between the client and the BI server is set up via HTTP protocol, create the StateCheckOff parameter and set it to 1 to disable the check. To set up interaction with external services inside the OAuth section, create subsections with OAuth/OpenID Connect authentication server names. Each subsection has its own specific parameters. The following parameters of OAuth/OpenID Connect authentication servers are available:
IMPORTANT. The list of user groups must not contain the ADMINISTRATORS built-in group. If this group is in the list, an exception is thrown during the connection. When setting up repository connection under the specific user authorized on the external server, values of the UserIdAttr and the UserNameAttr parameters may match. Unique identifier and user name obtained on working with external service using the UserIdAttr and UserNameAttr attributes are recorded:
Values specified in the ConsumerKey and ConsumerSecret parameters will be obtained after registering developed application on the required OAuth/OpenID Connect authentication server. These parameters are required in order that BI server can check after authorization on OAuth/OpenID Connect server and authorize the corresponding user in the repository. If the ConsumerKey and ConsumerSecret parameters are not specified, internal settings of the BI server are used; the OAuth/OpenID Connect server must contain registered application based on Foresight Analytics Platform. |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\ExtService] |
External authentication service parameters that will be used for user authorization in the repository with the ExtService type via JWT token or HTTP headers. In this section one should create subsections with names of external authentication services. Determine the following parameters in each subsection:
IMPORTANT. The list of user groups must not contain the ADMINISTRATORS built-in group.
Optional parameters:
To set session values of global variables, after the repository connection is successfully established, one can create the AdditionalAttributes section in external service settings description. Name of each child element of this subsection should match with attribute name in JWT token or header name, which value will be set in global variable. The child element can contain the IdVariable parameter, in which one specifies identifier of repository global variable. If the IdVariable parameter is not specified, the system searches for the global variable with the identifier equal to attribute name in upper case. |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\MbDefs] |
Parameters of work with the list of repositories. Allowed string parameter:
|
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\Fore] |
Parameters for working with development environment objects.
|
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\PP\BIS\System\WebForms] |
Web form work parameters.
|
This section stores encrypted credentials of service user of security subsystem. The GOST 28147-89 algorithm is used to encrypt credentials.
| Subsection | Keys |
| [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\Audit\Credentials\Item0] | The subsection which stores service user credentials:
|
The number and types of subsections may change depending on the number of computers, on which service user credentials were added.
NOTE. Subsection data is created automatically and is read-only.
This section is used to determine whether remote BI servers connected subsequently can be accessed to execute operations with cubes. The chain of BI servers consists of:
The remote BI server, which settings are determined in the Service section.
Intermediate BI servers. The server following each intermediate BI server is a remote one.
Final BI server.
The Cubes section must be located before the Service section.
| Subsection | Parameters |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\Cubes] |
Add the parameter for the remote BI server and intermediate BI servers in the chain:
|
This section is used to specify addresses of remote BI servers to get and cache data from repository. The BI server with the web application will request remote BI servers and get a thread with required data without additional request to DBMS.
| Subsection | Parameters |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\Service\Epts] |
The subsection, in which end points to remote servers are specified. For each point create a subsection with a unique name, add a parameter for each subsection:
|
[HKLM\SOFTWARE\Foresight\ |
The subsection contains repository settings. To set up, inside Mbs create a subsection with a unique name, that is, repository identifier. The parameter can also be specified inside the created subsection:
Additional subsections with settings can also be created for repository inside each subsection:
NOTE. If repository objects use the shortcut that refers to the cube, shortcut data will be obtained via an access point specified for the cube. If the shortcut has its own access point that is different from the cube's access point, this access point will be used during the use of shortcut. For example: [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\Service\Mbs\WAREHOUSE\Cubes\InMemSettings] Where:
If the UpdCache subsection is created, the BI server, to which the specified access point corresponds, will be used to execute cache update task in scheduled tasks container. |
This section is used to specify the settings that determine data caching mode based on InMemory MOLAP. The specified settings are determined on InMemory MOLAP server.
| Parameters | Description |
CacheType |
Cube data caching work mode. Available values:
If the CacheType parameter is not contained in the registry, the UseInMem parameter is checked:
|
| UseInMem | Indicates whether InMemory MOLAP mechanism is used to cache cube data in file cache. Available values:
IMPORTANT. The UseInMem paameter is outdated and is used for compatibility with previous versions. To determine a data caching mode, use the CacheType parameter. If the UseInMem and CacheType parameters are set at the same time, the value of the CacheType parameter has a higher priority. |
When file cache is used, the advanced settings are available that can be used to optimize the use of cache data or enable the use of additional data handling methods. For details about the advanced settings see the Installing InMemory MOLAP-Server section.
This section is used to specify the settings of connection to syslog server to send messages about auditing events.
| Parameters | Description |
Active |
Activation of syslog server connection for forwarding security event messages. The REG_DWORD parameter. Available values:
|
Host |
IP address of syslog server. String parameter. The IPv4 protocol is available only. The default value: 127.0.0 1. |
Port |
Port of syslog server for incoming connections. The REG_DWORD parameter. Default value: 202. It is set in hexadecimal notation system. In settings.xml the value is set in the decimal notation system - 514. |
Protocol |
Protocol used for forwarding. The REG_DWORD parameter. Available values:
|
The section is used to create parameters used for algorithm calculation, for getting debug info during the work with data cubes.
To view output debug info, make sure that the registry key [HKLM\Software\Foresight\Foresight Analytics Platform\10.0\Log] does not contain the SeverityLevel parameter or it is set to 2, 1, 0.
| Parameters | Description |
| EtalonHashPath | Save checksum calculation result of the lpsolve55.dll library for Windows OS or the liblpsolve55.so library for Linux OS. String type parameter. As a parameter value, set full path to the file with checksum calculation result. The parameter should be added on local computers of all users. For details about integration with LPSolve, see the Connecting External Modules to Foresight Analytics Platform section. |
| MsDump | Additional debug info in calculations. The REG_DWORD parameter. Available values:
If data filtering is enabled, full information about is added with the information about calculation mode depending on whether data filtering sources contain a calculation block destination cube. If no, multithreaded calculation will be applied.
IMPORTANT. The parameter does not affect algorithm calculation speed on executing collection and output of additional debug info. The parameter should be added on local computers of all users. For details about getting debug info on calculations see the How to View Debug Information on Calculations? section. |
| MsNumThreads | Changing the maximum number of threads, by which parallel iteration calculation will be executed, on calculation of calculation blocks and/or control blocks. The maximum of 8 threads is used by default on multithreaded calculation. The REG_DWORD parameter. If the specified parameter value is less than the number of processor cores, the number of threads specified in the parameter will be used. If the specified parameter value is greater than the number of processor cores, the number of threads equal to the number of cores will be used. NOTE. When specifying the parameter take into account the architecture of Intel processor 2019 or later. When calculating iterations, the doubled number of streams is used relative to the specified parameter value. The parameter should be added on local computers of all users. For details about multithreaded calculation see the How to Execute Multithreaded Calculation? section. |
| DataRightsLog | Additional debug info during the work with data cubes. The REG_DWORD parameter. Available values:
|
| SegmentLog | Additional debug info only for data cubes containing segments. The REG_DWORD parameter. Available values:
|
| GCTrace | Indicates whether garbage collector messages should be logged. The REG_DWORD parameter. Available values:
memory after garbage collection. |
The section is used for creating parameters used by the object navigator.
| Parameters | Description |
| RecursiveDeps | Indicates whether recursive queries are used on getting repository object dependencies. It is relevant if a repository is created based on PostgreSQL DBMS. The parameter is ignored for other DBMS. Available values:
|
This section contains various settings that affect platform security subsystem work.
| Subsection | Parameters |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\Sec\Hash] |
The subsection that is used to determine password hashing algorithm settings used for built-in authorization in password authentication. Hash is generated based on the combination of the GOST P 34.11-2012 and Argon2 algorithms. Use parameters:
NOTE. When pepper value changes, it is required to reset all user passwords. |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\Sec\HistoryHash] |
The subsection that is used to determine password hashing algorithm settings used for built-in authorization in password authentication. When hashing passwords history, the system uses the same algorithm that is used to hash user passwords and that is specified above in the description of the Hash subsection. The list of set parameters and their purpose correspond with the parameters that are set in the Hash subsection. Values of the Pepper parameters in subsections must differ. |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\Sec\Limits] |
The subsection that determines settings limiting execution of various operations. The settings are used to limit the burden on productions systems in case of possible attacks. Use parameters:
|
The section is used to create parameters used for tables.
| Subsection | Parameters |
| [HKLM\SOFTWARE\Foresight\ Foresight Analytics Platform\ 10.0\Pivot\DimFilterRestrictionsEnabled] |
It determines whether the dimension can be moved to table filtering dimensions. It is available for regular reports express reports, dashboards and information panels, for which the IPivot.DimFilterRestrictionsEnabled property is not set. Available values:
|
Single parameters can be created in the key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0].
| Parameters | Description |
| VirtualMemoryThreshold | The threshold of RAM use, which, if exceeded, will enable clearing cache of objects' metadata. The REG_DWORD parameter, available values: 0-100%. |
See also:
System Settings of Foresight Analytics Platform | Settings in settings.xml