awsdocs / elastic-beanstalk-samples

This repository contains code and configuration samples (e.g. .ebextensions) for AWS Elastic Beanstalk.
Apache License 2.0
1.21k stars 889 forks source link

CloudWatch Log Streaming No Longer Works on AL2023 since the awslogs is removed from AL2023 #169

Closed c0dezli closed 2 months ago

c0dezli commented 1 year ago

Please update https://github.com/awsdocs/elastic-beanstalk-samples/blob/master/configuration-files/aws-provided/instance-configuration/logs-streamtocloudwatch-linux.config

mayconfrr commented 10 months ago

Also came across this problem when updating an environment version. Please update the example

hughkelsey commented 7 months ago

I ran in to this myself and added a PR for some more up to date docs: https://github.com/awsdocs/elastic-beanstalk-samples/pull/170

daintym0sh commented 4 months ago

I ran in to this myself and added a PR for some more up to date docs: #170

Thanks for this! I was also having trouble setting up logs with AL2023.

mrenneke-amazon commented 2 months ago

Thank you for submitting this issue and for contributing the sample configuration for AL2023.

We have updated the outdated configuration file to work with both AL2 and AL2023. Please see this now merged Pull Request for details.

We have also updated the Elastic Beanstalk Developer Guide, in the Custom log file streaming section, to reference the most current CloudWatch agent configuration file information.