Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example for unified cloudwatch agent #150

Open
rynop opened this issue Aug 6, 2021 · 1 comment
Open

Example for unified cloudwatch agent #150

rynop opened this issue Aug 6, 2021 · 1 comment

Comments

@rynop
Copy link

rynop commented Aug 6, 2021

Per the warning here, CloudWatch logs agent is going to be deprecated.

Can you please add an example for gathering application logs via the unified agent? The examples in the official docs are not great.

Specifically, I'd like to send multiple log files (/var/log/example/ex-1.log and /var/log/example/ex-2.log) to the same log group. Thanks in advance

@JordanMontgomery
Copy link

Has there been any movement on this or is there any supported way to use the unified cloudwatch agent on Amazon Linux 2 to gather custom logs? There are some hacky ways I've seen online but it seems like just dropping an extra config file for the unified agent to pickup doesn't work as expected, I assume because something related to Elastic Beanstalk's built in configuration interferes with that. Among other things this makes it difficult to switch to IMDSV2 since the current, documented solution only allows IMDSV1 and most things recommend disabling IMDSV1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants