IoT Device Defender Metrics
Hi guys,
is it possible to access the generated metrics, specified in "additionalMetricsToRetain" without an security profile? I need the metric of "sent messages per device/thing" for a dashboard tool. It would be a waste to code it by myself if the metric is technically there. Even the aws console has an api to retrieve the data. Isn't that public or accessible via an sdk?
Best,
Patrick
Hi Patrick,
The generated metrics in 'additionalMetricstoRetain' in Device Defender are not accessible today via API.
You can create a security profile with only additional metrics to retain and observe metric trending over time per device in the AWS IoT console meanwhile.
If you need the metrics for other visualization/dashboarding purpose outside of the console, you will need to implement it with custom functions.
Hope this helps clarify. Let me know if you have any other questions.
~Cathy
Hi Patrick, AWS IoT Device Defender recently launched the ListMetricValues API. You can use this API to fetch the metrics that Device Defender collects and stores. Here is the documentation of the API: https://docs.aws.amazon.com/iot/latest/apireference/API_ListMetricValues.html
Relevant questions
IOT MQTT Message cost/billing appears larger than expected. Per character maybe?
Accepted Answerasked 2 months agoIoT device/device profile tags in payload
asked 7 months agoCost of Amazon CloudFront additional metrics
Accepted Answerasked 2 years agoIoT Device Defender Metrics
asked 2 years agoPublish/Subscribe to IoT device messages via Java SDK?
asked 4 months agoHow do I know when a new Metric value is available for a SiteWise Asset?
asked 2 years agoPossible to editing alarm name and delete created metrics in Cloudwatch
Accepted Answerasked 2 months agoTraining Metric logging on SageMaker experiment tracking: how to get time-series metrics with visualisation
asked 3 months agoDuplicate disk_used_percent metrics
asked a year agoAWS CloudWatch metrics to OpenSearch
asked 3 months ago