How to troubleshoot `no data available` in IoT device defender metrics?

0

Followed the steps below to configure IoT device defender metrics.

  • Created security profile.
  • Attached several thing groups as target in the security profile.
  • Added the following additional metrics to retain.
    • Cloud metrics : messages sent, messages received scoped by dimensions
  • Did not add any behaviors
  • Checked the defender metrics in IoT console under specific things which belonged to the corresponding target thing groups.

Note: The device is publishing messages to IoT core using a custom python program based on paho-mqtt library.

Metrics are not available. It says "No data available".
How to troubleshoot?
Is it required to install AWS IoT device client on the device side?

已提問 2 年前檢視次數 325 次
1 個回答
0

Cloud-side metrics won't require any device client being installed.
Have you checked the topic filter in dimension? dimension will only filter out specific topic, see: https://docs.aws.amazon.com/iot/latest/developerguide/scoping-security-behavior.html
Have you tried to remove dimension in these metrics and see if you can get data. One more thing you can do is to use ListMetricValues api to get metrics value: https://docs.aws.amazon.com/cli/latest/reference/iot/list-metric-values.html

AWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南