AWS EMR CLI List of clusters aws emr list-clusters Get LogUri to get log locations aws emr describe-cluster --cluster-id j-2X0TJ4AYW2U99 | grep LogUri # "LogUri": "s3n://aws-logs-[account_number]-us-east-1/elasticmapreduce/", List of steps from the cluster aws emr list-steps --cluster-id j-2X0TJ4AYW2U99 download log files (use with --dryrun to see what will be downloaded) aws s3 cp s3://aws-logs-[account_number]-us-east-1/elasticmapreduce/j-2X0TJ4AYW2U99/ . --include "*.gz" --recursive Deflate the downloaded files gzip -rd * Grep through logs grep -i -E "(error)|(exception)" -R *