Smart Integration Additional Settings
Local Application Data Settings
Additional application configurations can be applied within the Local Application Data Settings.
Once you open a configuration file within the utility, open Local Application Data Settings.
You can:
-
Reference a location to additional DLLs that will be used in remote business rules.
-
Adjust the Maximum Records to Return. These are optional and are only defined if needed or if further tuning is necessary by a consultant or as instructed by Support.
-
Store Configuration Parameters and associated values.
Referenced Assemblies Folder
The Referenced Assemblies Folder specifies the location of customer-supplied DLLs that can be referenced when remote Smart Integration Functions are compiled and executed. You will need to add the DLL name to the Smart Integration Functions Referenced Assemblies property. The default value is C:\Program Files\OneStream Software\OneStream Gateway\Referenced Assemblies.
NOTE: If you are integrating with SAP, ERPConnect and supporting DLLs will need to be added to your Referenced Assemblies Folder and C:\Windows\System32 folder. Refer to Support for SAP Integration.
Record Count Adjustments
Maximum Records to Return when Paging
Defaults to 1000000 and defines the number of rows to return per page/block to OneStream APIs. This value is used only when greater than the "Row Count to Begin Paging Operations" rows are returned from a query. Example: If the query returns 3 million rows and Row Count to Begin Paging is set to 1 million, there would be 3 blocks of 1 million rows returned to OneStream.
NOTE: Maximum Records to Return when Paging, Maximum Records to Return, and Row Count to Begin Paging Operations are optional and should only be applied by a OneStream consultant or OneStream Support.
Maximum Records to Return
Defaults to 5000000 and is the maximum number of rows that can be returned from any one query.
NOTE: Maximum Records and Row Counts Settings: When large data volumes are returned (over 1000000 rows), to maintain performance and reliability, Smart Integration Connector automatically transfers the data in pages.
NOTE: Smart Integration Connector has a threshold limit of 5 million rows and 5GB.
NOTE: It is a best practice that you review any queries that return more than 1 million rows with your Database Administrator, because additional tuning may be required. Tuning these queries will improve performance, reduce resource usage, and make them more efficient.
Row Count to Begin Paging Operations
Defaults to 1000000 and is the number of rows returned before the dataset is returned through pages/blocks.
Local Configuration Parameters
This is where you can set key value pairs, such as Web API keys, usernames, and passwords, that can be referenced from business rules. These key value pairs are defined as Configuration Parameter Name and Configuration Parameter Value.
For example, the Configuration Parameter Name is sftpPassword. Sensitive information, such as the password, is stored in the Configuration Parameter Value on the Local Gateway Server and does not need to be stored in the OneStream Windows Application.
Then, in a business rule, you can reference the Configuration Parameter Name and do not need to know the password or other sensitive information that is stored in the Configuration Parameter Value. For example, in the following business rule the sftpPassword Configuration Parameter Name is referenced. The GetSmartIntegrationConfigValue API can be used in a Smart Integration Function to reference the Configuration Parameter Name, which may be needed in a business rule to access a local data source.
Dim passwordString As String = APILibrary.GetSmartIntegrationConfigValue("sftpPassword")
Log Settings
The service uses Serilog for application-level logging and exposes options for controlling naming convention, growth limits, and retention details. For example you can change the verbosity of log messages by changing the minimum-level setting from Verbose to Informational. If a catastrophic error happens, you can check the Windows event logs to review the errors. You can edit the Log Settings from the OneStream Local Gateway Configuration Utility.
Click to access Log Settings.
- Log Level descriptions:
- Verbose: The noisiest level, rarely (if ever) enabled for a production application.
- Debug: Used for internal system events that are not necessarily observable from the outside, but useful when determining how something happened.
- Information: Used to describe things happening in the system that correspond to its responsibilities and functions. Generally, these are the observable actions the system can perform. This is recommended for production environments and is the default setting upon installation.
- Warning: Service is degraded, endangered, or may be behaving outside of its expected parameters.
- Error: Logging of situations where functionality is unavailable or a recoverable error condition occurred.
- Fatal: Only the most critical level items would be logged, requiring immediate attention.
-
File Size Limit in Bytes: The maximum size for the log file, in bytes, before creating a new file for the day. The default is 20 MB.
-
Roll On File Size Limit: When a log file reaches the specified number of bytes, a new log file is generated.
-
Retained File Count Limit: Number of log files to retain. If logs do not exceed the limit in bytes (one file/day), this would allow for the configured value (with 40 days being the default) of log retention. If the Smart Integration Service is used heavily and log files are set to higher levels of verbosity, this could result in fewer days of log retention. Ensure that the growth rate and retention periods align with your organizational requirements.
The default location for log files is:
%programdata%\OneStream Software\OneStreamGatewayService\Logs.
NOTE: The log file's output has been updated to reflect the enhanced performance and reliability of multithreaded or parallel processing for larger payloads since the Platform Version v8.4 update.