- Newest
- Most votes
- Most comments
Log Manager is configurable to upload any file on disk. It cannot upload from a command, but it can be configured to upload any file pattern. We'd recommend you to configure LogFileRegex and logFileDirectoryPath of aws.greengrass.LogManager to upload journald logs.
To collect logs and metrics from other sources than files you can deploy an OpenTelemetry collector container, or FluentBit. Both these approaches can send data to CloudWatch and use the TES credentials provided by Greengrass.
AWS provides a container for FluentBit (https://docs.fluentbit.io/manual/pipeline/outputs/cloudwatch#aws-for-fluent-bit) containing all the necessary plugins.
For instructions on how to run containers images as components in Greengrass and which parameters should be passed, you can refer to the documentation
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 9 days ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago