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年前272ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン