내용으로 건너뛰기

IoTCore to CloudWatch - Logging intermittent/ logs missing

0

I am tracking Iotcore logs with Cloudwatch. For some reason I'm seeing intermittent logging where events that I know have happened are not being logged on Cloudwatch.

For example: My application is receiving messages from a device in the field, over Iotcore. I am tracking the event time (e.g. accelerometer wakeup), the sent time (device timestamp), and the server time (time forwarded from Iotcore to my backend). When looking through Cloudwatch logs for the exact time (and around the time), there are no logs for the event. Specifically, I'm looking for a "eventType": "Publish-In", event. I also don't see any errors for the times in question either (though wouldn't expect any, since message is being correctly delivered).

Is this a known issue? Has anyone else experienced this?

1개 답변
0

Specifically, I'm looking for a "eventType": "Publish-In", event.

How are you looking? If you search using Logs Insights, I think they should all be there.

Enter image description here

AWS
전문가

답변함 2년 전

AWS
전문가

검토됨 일 년 전

  • Thanks for the suggestion.

    I'm not using a filter. The event literally isn't there. Blank space in the timeline.

    Maybe I'm barking up the wrong tree here. Just wanted to see if anyone is seeing the same as this could be a common issue across multiple devices.

  • Are you using Logs Insights, even if not a filter? Events can be spread over different log streams. If the message was received by AWS IoT Core, there will be a Publish-In event. But it's not always easy to find it.

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

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

관련 콘텐츠