Wireless Gateway disconnect log search

0

I am utilizing the newish LoRaWAN event notifications to publish connect/disconnect events to $aws/iotwireless/events/connection_status/+/lorawan/wireless_gateways. I have a gateway that disconnected which I am trying to diagnose using log insights on the AWSIotLogsV2 log group.

My query is:

fields @timestamp, @message
| filter eventType = 'Disconnect'

Which gives me:

{"timestamp":"2022-07-09 21:48:36.523","logLevel":"INFO","traceId":"<<redacted>>","accountId":"<<redacted>>","status":"Success","eventType":"Disconnect","protocol":"MQTT","clientId":"<<redacted>>,"principalId":"<<redacted>>","sourceIp":"<<redacted>>","sourcePort":59232,"disconnectReason":"CONNECTION_LOST"}

But the results don't seem to help me identify the specific gateway in question. How to I write a query that pinpoints the gateway by either Gateway ID, Gateway EUI, or some other unique identifier?

질문됨 2년 전213회 조회
1개 답변
1

Hi. AWSIotLogsV2 is not the correct log group for wireless/LoRaWAN log events in CloudWatch. Instead, you need to query the /aws/iotwireless log group. In case you haven't already enabled this log group, please see the instructions here: https://docs.aws.amazon.com/iot/latest/developerguide/connect-iot-lorawan-logging-monitoring.html

profile pictureAWS
전문가
Greg_B
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠