Configure data selection
- Last UpdatedNov 10, 2025
- 1 minute read
- PI System
- Adapter for OPC UA 1.6
- Adapters
In addition to the data source configuration, you need to provide a data selection configuration to specify the data you want the adapter to collect from the data source.
Postman
To configure data selection using Postman:
-
To initialize the configuration, use the PUT method in conjunction with the http://localhost:5590/api/v1/configuration/<componentId>/DataSelection REST endpoint.
Note: If you installed the adapter to listen on a non-default port, update 5590 to the port number in use.
-
Copy and paste an example configuration for data selection into the Body section.
For sample JSONs, see the Examples section.
-
Update the example JSON parameters for your environment.
-
Select Send to push the configuration to the adapter.
EdgeCmd
To configure data selection using EdgeCmd:
-
Using a text editor, create an empty text file.
-
Copy and paste an example configuration for data selection into the file.
-
Update the example JSON parameters for your environment.
For sample JSONs, see the Examples section.
-
Save the file. For example, ConfigureDataSelection.json.
-
Open a command line session. Change directory to the location of your saved file.
-
Use the following edgecmd command with the name of your JSON file. For this example, we will use ConfigureDataSelection.json for the saved file.
edgecmd -port <port number> -cid <componentId> set DataSelection -file /.ConfigureDataSelection.json
For a list of other REST operations you can perform, like updating or replacing a health endpoints configuration, see the REST URLs.