Troubleshooting
- Last UpdatedSep 25, 2025
- 4 minute read
Edge Data Store () includes both local and remote means of diagnosing issues encountered while using or developing against .
supports a diagnostics namespace that stores streams containing diagnostic information from itself. Egress this data to either a PI Server or CONNECT data services to monitor the state of a system remotely. For details about egressing diagnostic data, see Diagnostics configuration.
In addition to diagnostics data, all components in support Open Message Format () health messages. Configure health messages to send health data to either PI Server or CONNECT data services endpoints for remote monitoring of devices. For more information, see Configure health endpoints.
ingress
When a custom application fails to write stream data to :
-
Verify the custom application is sending messages in the correct order: 1) type, 2) container, 3) data.
Note: messages must be sent in the correct order to be ingressed into .
-
Refer to logging of warnings, errors, and messages for help with diagnosing these issues.
ingress logging
Ingress logging messages provide a record of ingress events. To capture the most information for troubleshooting:
-
Refer to Configure logging to set logging parameters.
-
For maximum message logging information, set the log level to Trace.
ingress message debugging
Every incoming message logs a request and response log file. Log files are located in the following location and grouped by the associated message type:
C:\ProgramData\OSIsoft\EdgeDataStore\Logs\IngressDebugLogs\
Each log file leverages the following filename format:
{ticks}-{operationId}-{Request/Response}.txt
Use debugging information to troubleshoot problems between an application and Edge Data Store. To enable debugging:
-
Refer to Storage runtime configuration to enable debugging.
-
Set an appropriate time value for the IngressDebugExpiration property.
Note: You can also disable debugging by setting the expiration value to null.
Date and time strings should use the following formats:
-
: yyyy-mm-ddThh:mm:ssZ
-
Local: yyyy-mm-ddThh:mm:ss
-
Egress
egress extracts data from Sequential Data Store () streams and sends the appropriate sequences of type, container, and data messages on startup.
If unexpected data appears in an CONNECT data services or PI Server, check if multiple devices are writing to the same stream. To check egress configuration:
-
Check all egress configuration files in to verify whether any endpoints are duplicated. A duplicate endpoint means that more than one device is egressing data to it, resulting in unexpected data.
-
Assign stream prefixes in the periodic egress configuration to ensure that output data streams are logically separated in the systems of record. For instructions, see Configure periodic data egress.
Note: Type prefixes may be helpful if you have changed a stream type definition on . types on both CONNECT data services and the PI Server are immutable once created. If the type of the data stream changes, it is best to either delete the old type definition (if nothing is still using it) or add a type prefix to create a new unique type that will be used by new streams egressing from to the systems of record.
Egress logging
Egress logging messages provide a record of egress events. To capture maximum information for troubleshooting:
-
Refer to Configure logging to set logging parameters.
-
For maximum message logging information, set the log level to Trace.
Egress debugging
Use debugging information to troubleshoot problems between and the egress destination. To enable debugging:
-
Refer to Data egress to enable debugging.
-
Set an appropriate time value for the DebugExpiration property.
Note: Disable debugging by setting the expiration value to null.
Date and time strings should use the following formats:
-
: yyyy-mm-ddThh:mm:ssZ
-
Local: yyyy-mm-ddThh:mm:ss
-
Debugging folder/file structure
Debug folders and files are created under the folder as follows:
-
: %programdata%\OSIsoft\EdgeDataStore\Logs\EgressDebugLogs\Data\{egressType}\{egressId}\{omfType}\{Ticks}-{Guid}-{Request/Response}.txt
Definition:
: /usr/share/OSIsoft/EdgeDataStore/Logs/EgressDebugLogs/Data{egressType}/{egressId}/{omfType}/{Ticks}-{Guid}-{Request/Response}.txt
Definition:
The specific elements of the file structure are defined in the following table.
Element
Represents
omfType
The message type: Type, Container, or Data.
Ticks
The time in milliseconds (tick count) for DateTime when determined message would be written to disk.
Guid
The unique for each request/response pair.
Req/Res
Whether the message was request or response.
Additional resources
For information about specific log messages and possible resolutions, refer to the AVEVA Customer Portal.