AWS IoT Rule HTTPS Endpoint

0

In AWS IoT core rule, there is a rule that calls HTTPS Endpoint when specific data comes in. HTTPS Endpoint calls do not work intermittently. We confirmed that data is coming into AWS IoT. Is there a way to check the history of HTTPS Endpoint calls in AWS IoT?

I added CloudWatch logs to the rule, but no logs are output.

質問済み 8ヶ月前251ビュー
2回答
0
承認された回答

In AWS IoT core rule, there is a rule that calls HTTPS Endpoint when specific data comes in. HTTPS Endpoint calls do not work intermittently. We confirmed that data is coming into AWS IoT. Is there a way to check the history of HTTPS Endpoint calls in AWS IoT?

I added CloudWatch logs to the rule, but no logs are output.

The AWS IoT rules make multiple attempts to perform an action in case of intermittent errors. If all attempts fail, the message is discarded and the error is available in your CloudWatch logs [0]. You can specify an error action for each rule that is invoked after a failure occurs [1]. Error action can help you to get the specific error message for a certain action. These information would be very helpful to troubleshoot if there is any error when triggering the IoT rule.

[0] https://docs.aws.amazon.com/iot/latest/developerguide/configure-logging.html [1] https://docs.aws.amazon.com/iot/latest/developerguide/rule-error-handling.html

Furthermore, please make sure AWS IOT logging [2] is configured properly and to check AWS IoT logs in the CloudWatch console please follow the steps mentioned in [3]

[2] https://docs.aws.amazon.com/iot/latest/developerguide/configure-logging.html [3] https://docs.aws.amazon.com/iot/latest/developerguide/cloud-watch-logs.html#viewing-logs

AWS
サポートエンジニア
回答済み 8ヶ月前
0

Hi. If you've enabled AWS IoT logs, you should have something in CloudWatch for each rule execution with "eventType": "RuleExecution" and "ruleAction": "HttpAction".

And have you defined an error action? If the HTTP action exhausts retries, the error action will be executed.

profile pictureAWS
エキスパート
Greg_B
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ