Sample JSON file
- Last UpdatedSep 24, 2025
- 1 minute read
- PI System
- Adapter for OPC UA 1.6
- Adapters
This represents the sample file that ships with the OPC UA software.
{
"System": {
"Logging": {
"logLevel": "Information",
"logFileSizeLimitBytes": 34636833,
"logFileCountLimit": 31
},
"HealthEndpoints": [],
"Components": [
{
"componentId": "OmfEgress",
"componentType": "OmfEgress"
},
{
"componentId": "OpcUa1",
"componentType": "OpcUa"
}
],
"Buffering": {
"bufferLocation": "C:/ProgramData/OSIsoft/Adapters/OpcUa/Buffers",
"maxBufferSizeMB": 1024,
"enablePersistentBuffering": true
},
"General": {
"enableDiagnostics": true,
"metadataLevel": "Medium",
"includeSourceProperties": [
"All"
],
"healthPrefix": null
},
"ClientFailover": {}
},
"OpcUa1": {
"Logging": {
"logLevel": "Information",
"logFileSizeLimitBytes": 34636833,
"logFileCountLimit": 31
},
"DataSource": {
"endpointUrl": "opc.tcp://<IP-Address>:<Port>/<TestOPCUAServer>",
"useSecureConnection": true,
"userName": null,
"password": null,
"serverFailoverEnabled": false,
"backupEndpointUrls": ["opc.tcp://<IP-Address>:<Port>/<BackupOPCUAServer>"
],
"incomingTimestamp": "Source",
"dataCollectionMode": "CurrentWithBackfill",
"streamIdPrefix": "OPC_Prefix_",
"defaultStreamIdPattern": "{NamespaceIndex}.{Identifier}",
"defaultEventStreamIdPattern": "Events.{EventTypeNamespaceIndex}.{EventTypeIdentifier}.{EventTypeDisplayName}"
},
"DataFilters": [
{
"id": "DuplicateData",
"absoluteDeadband": 0,
"percentChange": null,
"expirationPeriod": "1:00:00"
}
],
"DataSelection": [
{
"nodeId": "ns=5;s=Random1"
},
{
"eventTypeNodeId": "i=9341"
}
],
"Schedules": [
{
"id": "Schedule1",
"period": "0:00:01",
"offset": "0:00:00"
}
]
},
"ClientSettings": {
"maxBrowseReferencesToReturn": 0,
"browseBlockSize": 10,
"childEventPropertyLevel": 1,
"reconnectDelay": "0:00:30",
"recreateSubscriptionDelay": "0:00:10",
"readBlockSize": 1000,
"sessionRequestTimeout": "0:02:00",
"connectionTimeout": "0:00:30",
"readTimeout": "0:00:30",
"sessionAllowInsecureCredentials": false,
"sessionMaxOperationsPerRequest": 1000,
"browseTimeout": "0:01:00",
"maxMonitoredItemsPerCall": 1000,
"maxNotificationsPerPublish": 0,
"publishingInterval": "0:00:01",
"createMonitoredItemsTimeout": "0:00:30",
"monitoredItemDataChangeTrigger": "StatusValue",
"samplingInterval": "0:00:00.5",
"monitoredItemQueueSize": 2,
"eventTypeMonitoredItemQueueSize": 0,
"maxInternalQueueSize": 500000,
"historyReadBlockSize": 10,
"historyReadTimeout": "0:01:00",
"operationTimeout": "0:04:00",
"minimumEventSeverity": 0,
"maximumEventSeverity": 1000,
"eventStringDelimiter": "|",
"includeEventPropertyName": false
},
"OmfEgress": {
"Logging": {
"logLevel": "Information",
"logFileSizeLimitBytes": 34636833,
"logFileCountLimit": 31
},
"DataEndpoints": [
{
"id": "PIWebAPI EndPoint",
"endpoint": "https://PIWEBAPIServer/piwebapi/omf",
"userName": "USERNAME",
"password": "PASSWORD"
},
{
"id": "CONNECT Endpoint",
"endpoint": "https://CONNECT Endpoint/omf",
"clientId": "CLIENTID",
"clientSecret": "CLIENTSECRET"
},
{
"id": "EDS",
"endpoint": "http://localhost:<EDSPORT>/api/v1/tenants/default/namespaces/default/omf"
}
]
}
}