Viewing continuous logging for Amazon Glue jobs - Amazon Glue
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Viewing continuous logging for Amazon Glue jobs

You can view real-time logs using the Amazon Glue console or the Amazon CloudWatch console.

To view real-time logs using the Amazon Glue console dashboard
  1. Sign in to the Amazon Web Services Management Console and open the Amazon Glue console at https://console.amazonaws.cn/glue/.

  2. In the navigation pane, choose Jobs.

  3. Add or start an existing job. Choose Action, Run job.

    When you start running a job, you navigate to a page that contains information about the running job:

    • The Logs tab shows the older aggregated application logs.

    • The Continuous logging tab shows a real-time progress bar when the job is running with glueContext initialized.

    • The Continuous logging tab also contains the Driver logs, which capture real-time Apache Spark driver logs, and application logs from the script logged using the Amazon Glue application logger when the job is running.

  4. For older jobs, you can also view the real-time logs under the Job History view by choosing Logs. This action takes you to the CloudWatch console that shows all Spark driver, executor, and progress bar log streams for that job run.

To view real-time logs using the CloudWatch console dashboard
  1. Open the CloudWatch console at https://console.amazonaws.cn/cloudwatch/.

  2. In the navigation pane, choose Log.

  3. Choose the /aws-glue/jobs/error/ log group.

  4. In the Filter box, paste the job run ID.

    You can view the driver logs, executor logs, and progress bar (if using the Standard filter).