Greengrass device logging online/offline?

0

Hello,

I'd like to log information from an application running on a greengrass connected device (thing), how do I do that? currently we have a log file that the application writes, ideally greengrass would stream that when the device is online to cloudwatch or an s3 bucket?...advice would be appreciated.

Thanks,
Mike

fsmike
질문됨 4년 전258회 조회
2개 답변
0

Hi Mike,

Greengrass currently only supports uploading logs from Greengrass system and Lambdas to CloudWatch Logs.
In your case, your application runs on a device which connects to Greengrass. You may directly use CloudWatch/S3 SDK in your application to upload logs. Or you can publish you application logs to an MQTT topic, and deploy a Lambda to listen on the topic and directly write to Lambda logs.
Hope this answers your question.

Thanks,
Hui

답변함 4년 전
0

Hello, yes, thank you! just what I needed.

fsmike
답변함 4년 전

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

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

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

관련 콘텐츠