Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI to CONNECT Agent

Limit AF databases in AppSettings​.json

  • Last UpdatedMar 13, 2026
  • 1 minute read

By default, the agent uses all databases from the added AF server. However, you can limit the agent to using selected AF databases. This can reduce AF indexing scope and time.

  1. Open an administrator command prompt and navigate to %ProgramData%\OSIsoft\PItoOCS.

  2. Run the command:

    notepad.exe appsettings.json

  3. To specify databases for AF, modify the following entry:

    "PIAssetFrameworkServerNames": [

    {

    "Name": "MyActualAFServerName",

    "AlternateDisplayName": "AlternateDisplayName",

    "ConnectionTimeout": 10,

    "Databases": ["Database1", "Database2", "Database3"],

    }

    ],

  4. Save the changes and restart the PI to CONNECT Agent service with the commands:

    net stop pitodatahubagent

    net start pitodatahubagent

TitleResults for “How to create a CRG?”Also Available in