Configure Historian ETL PI Extract Settings

About this task

This topic describes how to configure the Historian ETL PI Extract tool to modify the default folders to store the extracted data.
Note: These settings are saved in the PIHistorianETLExtract.exe.config file.

Procedure

  1. Run the Historian ETL PI Extract Configuration file located in the Historian ETL PI Extract folder.
    Tip: You can also enter ETL PI Extract in Windows Run.
    The Historian ETL PI Extract Configuration window appears, displaying the Basic Configuration section.
  2. If the configuration details are stored in a file, select Import Config to import the settings. Otherwise, skip to the next step.
  3. Provide values as specified in the following table.
    FieldDescriptionDefault Value
    Historian ServerEnter the host name or IP address of the PI Server machine.Blank
    Historian UserEnter the ID of the user to connect to the PI Server machine. A value is required only if security is enabled for the Historian server.Blank
    Historian PasswordEnter the password of the user to connect to the PI Server machine. A value is required only if security is enabled for the Historian server.Blank
    Unit IDEnter the unit ID of the machine from which you want to transfer data. OSMName
    Run IntervalEnter the interval, in seconds, at which the Historian ETL PI Extract tool will extract data. You must enter a value greater than or equal to 60. 150 (that is, a text file is created for data that is extracted in 150 seconds)
    Min # of Files to CompressEnter the number of files that must be compressed into a single .zip file.6 (that is, a .zip file is created for every six text files)
  4. Select Files, and then provide values as specified in the following table.
    FieldDescriptionDefault Value
    Historian Export PathEnter the path to the folder in which the text files containing the extracted data must be stored.<Installation folder of Historian ETL>/Historian ETL PI Extract/HistFiles
    Tag Configuration FileEnter the path to the tag configuration file that you have created.<Installation folder of Historian ETL>/Historian ETL PI Extract/OSM_OSMName.xml
    Zip Export PathEnter the path to the folder in which the compressed files must be stored.<Installation folder of Historian ETL>/Historian ETL PI Extract/ZipFiles
    State FileEnter the path to the file that contains the timestamp of the last successful export. This file is updated each time .zip files are transferred to the destination Historian server or when the Historian ETL PI Extract tool is stopped. After you apply the settings, the Historian ETL PI Extract tool creates this file.<Installation folder of Historian ETL>/Historian ETL PI Extract/State.xml
  5. Select Advanced Configuration, and then provide values as specified in the following table.
    FieldDescriptionDefault Value
    Log LevelEnter the log level to indicate the amount of information to be logged. A value of 1 indicates the least information and 5 indicates the highest level of information.1
    Catch Up IntervalEnter the catch up interval, in minutes, used to size files when catching up to the current time.10
    Regen FileEnter the path to the regeneration file.<installation folder of Historian ETL>\Regen.xml
    Save LimitEnter the number of files to be exported after which the State.xml file must be updated.20
    Catch Up Time LimitEnter the maximum time, in hours, to go back when catching up after a restart.168
    Delay IntervalThe duration, in seconds, by which the data retrieval time will be reduced. For example, if data will be retrieved for 10 minutes, and if you enter 60 in this field, data for the last 60 seconds will not be retrieved in that batch; it will be retrieved in the next batch. This will ensure the retrieval of any dynamic records that were updated in that duration.60
    Temp Regen FileEnter the path to the temporary regeneration file.<installation folder of Historian ETL>\Temp_Regen.xml
    Generate Temp Regen FileSelect True if you want to generate the temporary regeneration file.False
  6. Select Save.
    The changes to the settings are applied and saved in the PIHistorianETLExtract.exe.config file.

What to do next

Start the data extraction.