I want to see logs of my elastic beanstalk environment in the command line, for which I’m doing the following:
eb logs --cloudwatch-logs enable --cloudwatch-log-source instance Humboialpha2021-env
However, I’m seeing the following error:
https://gist.github.com/zendevil/0025d4c2bd54a4111f0ebb7efa6ec37e
How to fix this?You have to check the eb logs. You can access the full logs from the console too.
Sometimes if EB thinks that your software is unhealthy it will refuse to apply even configuration changes. Not sure if this is the case
@orestis I can’t access the logs from the console. When I click access logs, it keeps loading and the logs don’t show
That’s pretty strange. Do you have all the permissions needed?
It should give you a button to request logs.