Efficiently monitor AWS IoT SiteWise metrics using an AWS IoT Events alarm on an unstable network connection. AWS Cloud 1 connect AWS IoT Greengrass AWS IoT SiteWise Amazon CloudWatch 6 Heartbeat signal Amazon CloudWatch Logs 9 Amazon CloudWatch Alarm Pass AlarmID records Amazon DynamoDB 5 Store AlarmID records 2 Ingest & Compute 3 AWS IoT Core rules engine Augment 4 AWS Lambda AWS IoT SiteWise data transformation 7 Trigger Amazon EventBridge (event-based) 8 AWS Lambda 10 AWS IoT Events Amazon SNS AWS IoT Events alarm management Reviewed for technical accuracy April 5, 2021 11 Operator/ Production Supervisor AWS Reference Architecture 2 3 4 5 6 7 8 9 10 11 AWS IoT Greengrass configures a gateway to send industrial internet of things (IIoT) data to AWS IoT SiteWise. AWS IoT SiteWise collects, stores, organizes, and monitors data from industrial equipment at scale. Operational technology (OT) can quickly compute industrial performance metrics for remote monitoring. AWS IoT Core rules interact with MQTT topics of AWS IoT SiteWise metrics that OT wants to monitor. The rule augments data with an AlarmID so data is directed to a specific alarm detector instance. AWS Lambda function normalizes JSON payload to extract the AlarmID and metric property values and sends them as inputs to AWS IoT Events. Optionally, AWS Lambda function also sends all AlarmID records to Amazon DynamoDB for future use. Amazon CloudWatch Logs collect AWS IoT SiteWise Gateway.Heartbeat metric to monitor health. Amazon CloudWatch alarm tracks CloudWatch Logs events where heartbeat signals are missing due to internet or AWS service outage. Alarm then transitions to ON stage. Amazon EventBridge triggers an AWS Lambda function when Amazon CloudWatch Alarm is turned ON. Amazon EventBridge triggers AWS Lambda function to send the switch off signal with AlarmID records to AWS IoT Events alar