Environment Variables Used by the OPCUA DA Collector

The environment variables used by the OPCUA DA collector are available in the opcua-collector-config.json file. The following table describes these values.
Important: For OPCUA DA, Server-to-Server, and Server-to-Cloud collectors, ensure that you have set the environment variables correctly before applying the configuration changes. This is because after you have applied the configuration changes for a collector, you cannot set the environment variables. If, however, you must change the values of the environment variables after the applying the changes, you must change the InterfaceName and DefaultTagPrefix values. When you do so, a new instance of the collector is created. As a result, you must add the tags again.
Environment Variable Description Default Value Valid Values
DebugMode The debug mode for the OPCUA DA collector. 00
  • 00: Indicates that debugging is disabled.
  • ff: Indicates that debugging is enabled.
HistorianNodeName The host name or IP address of the destination Historian machine.
InterfaceName The name of the OPCUA DA collector. A value is required and must be unique. Historian-opcua-collector-200
DefaultTagPrefix The default prefix for the tags created by the OPCUA DA collector. For example, if you enter opcua, for a tag named pressure, a tag with the following name is created: opcua.pressure. historian-opcua.
General1 The URL of the OPCUA server.
General2 Identifies whether to enable secure connection. true
  • true
  • false
HS_NUMBER_OF_LOG_FILES The maximum number of log files to be created. Once this value exceeds, the oldest file will be deleted to accommodate the new one. 100 1 to 100
HS_SIZE_OF_EACH_LOG_FILE The maximum size of a single log file, in MB. If this value exceeds, a new log file will be created. 10 1 to 10