Log File Analyzer
Analyze log files to extract patterns, detect issues, and aggregate statistics using command-line tools.
Usage
Describe the log analysis you need and this skill will provide the commands and patterns.
Examples
- "Find the top 10 most frequent error messages in my application log"
- "Calculate request rate per minute from Nginx access logs"
- "Extract all 500 errors with context from the last hour"
Guidelines
- Use time-based filtering to narrow analysis scope
- Combine grep, awk, and sort for quick log analysis
- Aggregate by common fields to identify patterns
- Save useful log analysis commands as shell aliases
- Consider structured logging for easier automated analysis