Step 1 of 3
Match 5xx status lines across logs
/workspace/logs/ contains sample api.log and worker.log files. Search recursively with rg -n for status=5[0-9]{2} lines and save them to outages.txt:
bash
rg -n 'status=5[0-9]{2}' logs/ > outages.txt && cat outages.txtClick Check Step once verified.