Skip to content

Instantly share code, notes, and snippets.

@TommiFore
Created January 29, 2023 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TommiFore/7c6e9c0e30705fcc435c39ba9c42ed10 to your computer and use it in GitHub Desktop.
Save TommiFore/7c6e9c0e30705fcc435c39ba9c42ed10 to your computer and use it in GitHub Desktop.
[
{
"timestamp": "2023-01-28 14:39:18.936",
"logLevel": "INFO",
"eventType": "Publish-In",
"protocol": "MQTT",
"topicName": "aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_1_MAC",
"sourcePort": 61106
},
{
"timestamp": "2023-01-28 14:39:18.936",
"logLevel": "INFO",
"eventType": "Publish-Out",
"protocol": "MQTT",
"topicName": "aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_1_MAC",
"sourcePort": 62867
},
{
"timestamp": "2023-01-28 14:39:19.045",
"logLevel": "INFO",
"eventType": "Publish-In",
"protocol": "MQTT",
"topicName": "aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_2_MAC",
"sourcePort": 61106
},
{
"timestamp": "2023-01-28 14:39:19.047",
"logLevel": "INFO",
"eventType": "Publish-Out",
"protocol": "MQTT",
"topicName": "aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_2_MAC",
"sourcePort": 62867
},
{
"timestamp": "2023-01-28 14:39:20.715",
"logLevel": "ERROR",
"eventType": "Publish-In",
"protocol": "MQTT",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/gw_status",
"sourcePort": 61106
},
{
"timestamp": "2023-01-28 14:39:20.736",
"logLevel": "INFO",
"eventType": "Publish-Out",
"protocol": "MQTT",
"topicName": "aws/rules/Ruuvi/Gateway/GATEWAY_MAC/gw_status",
"sourcePort": 62867
},
{
"timestamp": "2023-01-28 14:39:20.754",
"logLevel": "INFO",
"eventType": "Disconnect",
"protocol": "MQTT",
"sourcePort": 61106,
"disconnectReason": "CLIENT_ERROR"
},
{
"timestamp": "2023-01-28 14:39:20.884",
"logLevel": "INFO",
"eventType": "Publish-In",
"protocol": "MQTT",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_3_MAC",
"sourcePort": 61106
},
{
"timestamp": "2023-01-28 14:39:20.886",
"logLevel": "INFO",
"eventType": "Publish-In",
"protocol": "MQTT",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_1_MAC",
"sourcePort": 61106
},
{
"timestamp": "2023-01-28 14:39:20.911",
"logLevel": "INFO",
"eventType": "RuleMatch",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_3_MAC",
"ruleName": "Ruuvi"
},
{
"timestamp": "2023-01-28 14:39:20.911",
"logLevel": "DEBUG",
"eventType": "StartingRuleExecution",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_3_MAC",
"ruleName": "Ruuvi",
"ruleAction": "LambdaAction"
},
{
"timestamp": "2023-01-28 14:39:20.913",
"logLevel": "INFO",
"eventType": "RuleMatch",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_1_MAC",
"ruleName": "Ruuvi"
},
{
"timestamp": "2023-01-28 14:39:20.913",
"logLevel": "DEBUG",
"eventType": "StartingRuleExecution",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_1_MAC",
"ruleName": "Ruuvi",
"ruleAction": "LambdaAction"
},
{
"timestamp": "2023-01-28 14:39:20.958",
"logLevel": "INFO",
"eventType": "RuleExecution",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_1_MAC",
"ruleName": "Ruuvi",
"ruleAction": "LambdaAction",
"resources": {
"FunctionArn": "arn:aws:lambda:eu-north-1:*:function:IOT-rule-tester"
}
},
{
"timestamp": "2023-01-28 14:39:20.966",
"logLevel": "INFO",
"eventType": "RuleExecution",
"topicName": "$aws/rules/Ruuvi/Gateway/GATEWAY_MAC/SENSOR_3_MAC",
"ruleName": "Ruuvi",
"ruleAction": "LambdaAction",
"resources": {
"FunctionArn": "arn:aws:lambda:eu-north-1:*:function:IOT-rule-tester"
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment