Create a tool that analyzes a system log file and produces a strict JSON report. The tool must accept two…
Create a tool that analyzes a system log file and produces a strict JSON report. The tool must accept two…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input log format: Each line is a log entry with pipe-separated fields: timestamp level service message -…
The task
**Input log format:** Each line is a log entry with pipe-separated fields: `timestamp|level|service|message` - timestamp: ISO 8601 format with timezone (e.g., `2024-03-15T14:30:00+05:00` or `2024-03-15T14:30:00Z`) - level: One of `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL` - service: Alphanumeric string with hyphens…
Part of ai-and/termgrade-environments.