AWS IoT Core

개요

AWS IoT Core는 관리형 클라우드 플랫폼으로 장치를 원활하게 연결하고 클라우드 애플리케이션 및 기타 장치와 안전하게 통신할 수 있도록 해줍니다.

이 통합을 활성화해 Datadog에서 모든 IOT 메트릭을 확인하세요.

설정

설치

아직 설치하지 않았다면, Amazon Web Services 통합을 먼저 설치하세요.

메트릭 수집

  1. AWS 통합 페이지에서 Metric Collection 탭 아래 IoT가 활성화되어 있는지 확인합니다.
  2. Datadog - AWS IoT Core 통합을 설치하세요.

로그 수집

로깅 활성화

AWS IoT Core를 설정해 S3 버킷 또는 클라우드와치(CloudWatch) 중 하나로 로그를 전송하세요.

참고: S3 버킷에 로깅하면 amazon_iot가 _대상 접두어_를 확인하세요.

Datadog에 로그 전송

  1. 이미 하지 않은 경우 Datadog 포워더 람다 함수를 설정하세요.

  2. 람다 함수가 설치되면 AWS 콘솔에 AWS IoT Core 로그를 포함하는 S3 버킷 또는 클라우드와치(CloudWatch) 로그 그룹에 수동으로 트리거를 추가합니다.

수집한 데이터

메트릭

aws.iot.connect_auth_error
(count)
AWS IoT could not authorize a connect request from a client on an MQTT topic.
Shown as error
aws.iot.connect_client_error
(count)
AWS IoT rejected a connect request from a client on an MQTT topic because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.connect_client_idthrottle
(count)
AWS IoT did not process a client connect request on an MQTT topic because the client exceeded the allowed connect request rate for a specific client ID.
aws.iot.connect_server_error
(count)
AWS IoT failed to process a client connect request on an MQTT topic because an internal error occurred.
Shown as error
aws.iot.connect_success
(count)
AWS IoT successfully processed a client connect request on an MQTT topic.
aws.iot.connect_throttle
(count)
AWS IoT did not process a connect request on an MQTT topic because the account exceeded the allowed connect request rate.
aws.iot.connection_authn_error
(count)
The number of connection attempts which AWS IoT Core rejects due to authentication failures.
Shown as error
aws.iot.credential_exchange_success
(count)
The number of successful AssumeRoleWithCertificate requests to AWS IoT Core credentials provider.
aws.iot.delete_thing_shadow_accepted
(count)
AWS IoT received a DeleteThingShadow request.
Shown as request
aws.iot.error_action_failure
(count)
The number of failed error actions.
aws.iot.error_action_success
(count)
The number of successful error actions.
aws.iot.failure
(count)
The number of failed rule action invocations.
aws.iot.get_thing_shadow_accepted
(count)
AWS IoT received a GetThingShadow request.
Shown as request
aws.iot.http_code_4xx
(count)
Generated if the status code of the response from the downstream web service or application is between 400 and 499.
aws.iot.http_code_5xx
(count)
Generated if the status code of the response from the downstream web service or application is between 500 and 599.
aws.iot.http_request_timeout
(count)
Generated if the downstream web service or application does not return a response within the request timeout limit.
aws.iot.http_unknown_host
(count)
Generated if the URL is valid, but the service does not exist or is unreachable.
aws.iot.list_named_shadows_for_thing_accepted
(count)
AWS IoT received a ListNamedShadowsForThing request.
Shown as request
aws.iot.parse_error
(count)
The number of JSON parse errors that occurred in messages published on a topic on which a rule is listening.
aws.iot.ping_success
(count)
AWS IoT received a ping message.
aws.iot.publish_in_auth_error
(count)
AWS IoT could not authorize a publish request from a client.
Shown as error
aws.iot.publish_in_client_error
(count)
AWS IoT rejected a publish request from a client because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.publish_in_server_error
(count)
AWS IoT failed to process a client publish request because an internal error occurred.
Shown as error
aws.iot.publish_in_success
(count)
A client successfully published an MQTT message.
aws.iot.publish_in_throttle
(count)
AWS IoT did not process a client publish request because the client exceeded the allowed inbound message rate.
aws.iot.publish_out_auth_error
(count)
AWS IoT could not authorize the publish request from the message broker.
Shown as error
aws.iot.publish_out_client_error
(count)
AWS IoT rejected the publish out request from the message broker because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.publish_out_success
(count)
AWS IoT successfully published a message to the connected client.
aws.iot.publish_out_throttle
(count)
The number of publish requests that were throttled because the client exceeded the allowed outbound message rate.
aws.iot.publish_retained_auth_error
(count)
The number of publish requests with the retain flag set that the message broker was unable to authorize.
aws.iot.publish_retained_success
(count)
The number of publish requests with the retain flag set that were successfully processed by the message broker.
aws.iot.publish_retained_throttle
(count)
The number of publish requests with the retain flag set that were throttled because the client exceeded the allowed inbound message rate.
aws.iot.queued_server_error
(count)
The number of messages that haven't been stored for a persistent session because of an internal error.
aws.iot.queued_success
(count)
The number of stored messages that were successfully processed by the message broker for clients that were disconnected from their persistent session.
aws.iot.queued_throttle
(count)
The number of messages that couldn't be stored and were throttled while clients with persistent sessions were disconnected.
aws.iot.rule_message_throttled
(count)
The number of messages throttled by the rules engine because of malicious behavior or because the number of messages exceeds the rules engine's throttle limit.
aws.iot.rule_not_found
(count)
The count of rules which could not be found.
aws.iot.rules_executed
(count)
The number of AWS IoT rules executed.
aws.iot.subscribe_auth_error
(count)
AWS IoT could not authorize a subscribe request from a client on an MQTT topic.
Shown as error
aws.iot.subscribe_client_error
(count)
AWS IoT rejected a subscribe request from a client on an MQTT topic because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.subscribe_server_error
(count)
AWS IoT failed to process a client subscribe request on an MQTT topic because an internal error occurred.
Shown as error
aws.iot.subscribe_success
(count)
AWS IoT successfully processed a client subscribe request on an MQTT topic.
aws.iot.subscribe_throttle
(count)
AWS IoT did not process a client subscribe request on an MQTT topic because the client exceeded the allowed subscribe request rate.
aws.iot.success
(count)
The number of successful rule action invocations.
aws.iot.throttle_exceeded
(count)
The number of successful rule action invocations.
aws.iot.topic_match
(count)
The number of incoming messages published on a topic on which a rule is listening.
aws.iot.unsubscribe_client_error
(count)
AWS IoT rejected an unsubscribe request from a client on an MQTT topic because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.unsubscribe_server_error
(count)
AWS IoT failed to process a client unsubscribe request on an MQTT topic because an internal error occurred.
Shown as error
aws.iot.unsubscribe_success
(count)
AWS IoT successfully processed a client unsubscribe request on an MQTT topic.
aws.iot.unsubscribe_throttle
(count)
AWS IoT did not process a client unsubscribe request on an MQTT topic because the client exceeded the allowed unsubscribe request rate.
aws.iot.update_thing_shadow_accepted
(count)
AWS IoT received a UpdateThingShadow request.
Shown as request

AWS에서 검색된 각 메트릭에는 호스트 이름, 보안 그룹 등을 포함하되 이에 국한되지 않고 AWS 콘솔에 표시되는 동일한 태그가 할당됩니다.

이벤트

AWS IoT Core 통합에는 이벤트가 포함되어 있지 않습니다.

서비스 점검

AWS IoT Core 통합에는 서비스 점검이 포함되어 있지 않습니다.

트러블슈팅

도움이 필요하신가요? Datadog 지원팀에 문의하세요.