Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyzes log files to cluster errors, count frequencies, and show hourly and daily distributions across JSON, syslog, and Nginx formats.
59% 100%+41 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 13 of 22 without it.
3 of 3 safety checks passed
Not used yet
Automated log file analysis that produces error clustering, frequency statistics, and time distribution reports.
| Format | Description | Auto-detection |
|---|---|---|
| JSON | One JSON object per line with timestamp/level/message fields | Starts with { |
| syslog | RFC 3164 format, e.g. Jan 1 12:00:00 host proc[pid]: msg | Starts with month name |
| Nginx | Access log or error log format | Starts with IP or date/path pattern |
python scripts/analyze_logs.py <log_file_path> [options]
| Parameter | Description | Default |
|---|---|---|
log_file | Path to the log file (required) | - |
--format | Log format: auto/json/syslog/nginx | auto |
--top | Show Top N error clusters | 20 |
--output | Export results to a JSON file | Terminal output only |
--level | Filter by log level (e.g. ERROR, WARN) | All levels |
--since | Only analyze logs after this time (ISO format) | No limit |
--until | Only analyze logs before this time (ISO format) | No limit |
# Auto-detect format and analyze the entire log file
Next to this one in the catalogue, plus more from the same author.