Find common server-side error lines.
Section: Logs, docs, and ops recipes
Search for 5xx errors in logs
bash
bash
rg '\b5\d\d\b|Internal Server Error|Exception' logs/Explanation
A quick first pass before deeper log analysis.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Logs, docs, and ops recipes
Find container image references
Search YAML and Helm files for image tags.
Find Terraform resource blocks
Search infrastructure code for a resource type.
Find debug logging in source code
Locate `console.log` usage across a codebase.