aws logs: The specified log group does not exist

Question:

I’m trying to grab logs from Cloudwatch with this CLI usage:

But I see this error in the response:

An error occurred (ResourceNotFoundException) when calling the GetLogEvents operation: The specified log group does not exist.

Answer:

Your problem could be the region.

It turned out it wasn’t for the OP but it might be for you looking at this question!

For example I had to add --region 'us-east-2' to fix a similar problem of log group not found when calling from the CLI

Leave a Reply