SiteWise 에지 게이트웨이 로그 모니터링 - AWS IoT SiteWise

기계 번역으로 제공되는 번역입니다. 제공된 번역과 원본 영어의 내용이 상충하는 경우에는 영어 버전이 우선합니다.

SiteWise 에지 게이트웨이 로그 모니터링

Amazon CloudWatch Logs 또는 로컬 파일 시스템에 정보를 기록하도록 AWS IoT SiteWise Edge 게이트웨이를 구성할 수 있습니다.

이벤트 로그 사용

SiteWise 에지 게이트웨이 디바이스에는 문제를 디버깅하는 데 도움이 되는 이벤트 로그 파일이 포함되어 있습니다. 다음 섹션은 AWS IoT SiteWise OPC UA Collector 및 AWS IoT SiteWise Publisher 구성 요소에 대한 이벤트 로그 파일을 찾고 활용하는 데 도움이 됩니다.

AWS IoT SiteWise OPCUA 컬렉터 이벤트 로그

AWS IoT SiteWise OPCUA Collector 구성 요소에는 고객이 문제를 식별하고 해결하는 데 도움이 되는 이벤트 로그가 포함되어 있습니다. 로그 파일은 로컬 로그 파일과는 별개이며 다음 위치에서 찾을 수 있습니다. Replace /그린그래스/v2 또는 C:\greengrass\v2 루트 폴더 경로 포함 AWS IoT Greengrass

Linux
/greengrass/v2/work/aws.iot.SiteWiseEdgeCollectorOpcua/logs/IotSiteWiseOpcUaCollectorEvents.log
Windows
C:\greengrass\v2\work\aws.iot.SiteWiseEdgeCollectorOpcua\logs\IotSiteWiseOpcUaCollectorEvents.log

이 로그에는 자세한 정보와 문제 해결 지침이 포함되어 있습니다. 문제 해결 정보는 문제 해결 방법에 대한 설명과 함께 진단과 함께 제공되며 경우에 따라 추가 정보로 연결되는 링크와 함께 제공됩니다. 진단 정보에는 다음이 포함됩니다.

  • 심각도 수준

  • Timestamp

  • 추가 이벤트별 정보

예 로그 예
dataSourceConnectionSuccess: Summary: Successfully connected to OpcUa server Level: INFO Timestamp: '2023-06-15T21:04:16.303Z' Description: Successfully connected to the data source. AssociatedMetrics: - Name: FetchedDataStreams Description: The number of fetched data streams for this data source Value: 1.0 Namespace: IoTSiteWise Dimensions: - Name: SourceName Value: SourceName{value=OPC-UA Server} - Name: ThingName Value: test-core AssociatedData: - Name: DataSourceTrace Description: Name of the data source Data: - OPC-UA Server - Name: EndpointUri Description: The endpoint to which the connection was attempted. Data: - '"opc.tcp://10.0.0.1:1234"'

AWS IoT SiteWise 퍼블리셔 이벤트 로그

AWS IoT SiteWise Publisher 구성 요소에는 고객이 문제를 식별하고 해결하는 데 도움이 되는 이벤트 로그가 포함되어 있습니다. 로그 파일은 로컬 로그 파일과는 별개이며 다음 위치에 있습니다. Replace /그린그래스/v2 또는 C:\greengrass\v2 루트 폴더 경로 포함 AWS IoT Greengrass

Linux
/greengrass/v2/work/aws.iot.SiteWiseEdgePublisher/logs/IotSiteWisePublisherEvents.log
Windows
C:\greengrass\v2\work\aws.iot.SiteWiseEdgePublisher\logs\IotSiteWisePublisherEvents.log

이 로그에는 자세한 정보와 문제 해결 지침이 포함되어 있습니다. 문제 해결 정보는 문제 해결 방법에 대한 설명과 함께 진단과 함께 제공되며 경우에 따라 추가 정보로 연결되는 링크와 함께 제공됩니다. 진단 정보에는 다음이 포함됩니다.

  • 심각도 수준

  • Timestamp

  • 추가 이벤트별 정보

예 로그 예
accountBeingThrottled: Summary: Data upload speed slowed due to quota limits Level: WARN Timestamp: '2023-06-09T21:30:24.654Z' Description: The IoT SiteWise Publisher is limited to the "Rate of data points ingested" quota for a customers account. See the associated documentation and associated metric for the number of requests that were limited for more information. Note that this may be temporary and not require any change, although if the issue continues you may need to request an increase for the mentioned quota. FurtherInformation: - https://docs.aws.amazon.com/iot-sitewise/latest/userguide/quotas.html - https://docs.aws.amazon.com/iot-sitewise/latest/userguide/troubleshooting-gateway.html#gateway-issue-data-streams AssociatedMetrics: - Name: TotalErrorCount Description: The total number of errors of this type that occurred. Value: 327724.0 AssociatedData: - Name: AggregatePropertyAliases Description: The aggregated property aliases of the throttled data. FileLocation: /greengrass/v2/work/aws.iot.SiteWiseEdgePublisher/./logs/data/AggregatePropertyAliases_1686346224654.log