Temporary File Path Configuration

<< Click to Display Table of Contents >>

Raynet One Data Hub > 14.0 > Administration and User Guide > Guides and How-Tos 

Temporary File Path Configuration

Raynet One Data Hub uses temporary files when processing certain tasks and transformations. For tasks and transformations processed on the server, the location of the files and the threshold when to start the cleanup can be configured in the appsettings.json. The appsettings.json file located in the [InstallDir] (by default C:\Program Files (x86)\RayVentoryDataHub) of Raynet One Data Hub Server. Information on how to configure this settings for tasks and transformations processed on the agent can be found in the Raynet One Data Hub Installation Guide.

 

"TemporaryFilesDirectory":""

"CsvFileProcessing": {

"NumThreads": 3

},

"TaskDataTransformationProcessing": {

"NumLocalThreads": 3,

"CleanupThresholdInMb": 500

 

Parameter

Required

Description

TemporaryFilesDirectory

{empty}

The TemporaryFilesDirectory specifies the directory where the server will write the temporary .csv files during the execution of the task or transformation. When the server has finished the collection of the data, it will send all written .csv files to the database and delete all temporary files in the directory. The TemporaryFilesDirectory needs to contain the path to the directory.

CleanupThresholdInMb

500

The CleanupThresholdInMb contains the threshold value in MB after which a cleanup of the temporary .csv files will automatically be started.

 

If no folder is defined, DataHub will automatically check for a temporary folder and select a folder according to the following rules:

 

Windows

The path in the TMP environmental variable.

The path in the TEMP environmental variable.

The path in the USERPROFILE environmental variable.

The Windows directory.

 

Linux

The path in the TMPDIR environmental variable.

If no path is defined, it chooses the /tmp/ defaultpath.