Fork me on GitHub
#aws
<
2021-03-27
>
zendevil.eth16:03:59

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?

orestis17:03:25

You have to check the eb logs. You can access the full logs from the console too.

orestis17:03:03

Sometimes if EB thinks that your software is unhealthy it will refuse to apply even configuration changes. Not sure if this is the case

zendevil.eth17:03:53

@orestis I can’t access the logs from the console. When I click access logs, it keeps loading and the logs don’t show

orestis18:03:09

That’s pretty strange. Do you have all the permissions needed?

orestis18:03:22

It should give you a button to request logs.

zendevil.eth01:03:17

it was a permissions issue. Too bad aws doesn’t tell that permissions aren’t met, and silently blocks accessing logs