'Log group does not exist' when AWS Glue fails

Viewed 1833

I'm using jobs from AWS Glue for very fist time, so it is normal that my job does not work but I can't see any detail log about what is wrong, because when I click in "Error Logs" link, or in "Logs" link I always get this message in AWS CloudWatch:

* Log group does not exist
The specific log group: /aws-glue/jobs/error does not exist in this account or region.

* An error occurred while describing log streams.
c.substring is not a function

How can I see AWS Glue Logs? Doesn't AWS Glue create the log group automatically?

1 Answers

Check if your IAM role has AWSGlueServiceRole policy attached to it or not, once you have verified a log is placed at the right position before the failure occurs.

Related