Using service logs
SiteWise Edge gateway devices include service log files to help debug issues. The following sections will help you find and utilize the service log files for the Amazon IoT SiteWise OPC-UA Collector and Amazon IoT SiteWise Publisher components.
Amazon IoT SiteWise OPC-UA Collector service log file
The Amazon IoT SiteWise OPC-UA Collector component uses the following log file.
To view this component's logs
-
Run the following command on the core device to view this component's log file in real time. Replace
or/greengrass/v2
C:\greengrass\v2
with the path to the Amazon IoT Greengrass root folder.
Amazon IoT SiteWise Publisher service log file
The Amazon IoT SiteWise Publisher component uses the following log file.
To view this component's logs
-
Run the following command on the core device to view this component's log file in real time. Replace
or/greengrass/v2
C:\greengrass\v2
with the path to the Amazon IoT Greengrass root folder.