View Amazon Batch job logs in CloudWatch Logs
You can configure your Amazon Batch jobs to send log information to Amazon CloudWatch Logs. This way, you can view different logs from your jobs in one convenient location. For more information, see Using CloudWatch Logs with Amazon Batch.
You can also use Job logs in the Amazon Batch console to monitor or troubleshoot an Amazon Batch job.
- 
            Open the Amazon Batch console . 
- 
            Choose Jobs. For more detailed information on sorting and filtering job in the job queue, see View Amazon Batch jobs in a job queue and Search for jobs in a job queue 
- 
            For Job queue, choose the job queue that you want. TipIf there are several jobs in the job queue, you can turn on Searching and filtering to find a job faster. For more information, see Search Amazon Batch for jobs in a job queue. 
- 
            For Status, choose the job status that you want. 
- 
            Choose the job that you want and the Details page will open. 
- 
            On the Details page, scroll down to Log stream name and choose the link. The link opens the Amazon CloudWatch Logs page for the job. 
- 
            (Optional) If this is the first time you've viewed the logs you may be asked for authorization. For Authorization required, enter OK, and then choose Authorize to accept Amazon CloudWatch charges.NoteTo revoke your authorization for CloudWatch charges: - 
                        In the left navigation pane, choose Permissions. 
- 
                        For Job logs, choose Edit. 
- 
                        Clear the Authorize Batch to use CloudWatch check box. 
- 
                        Choose Save changes. 
 
-