Write a Python CLI tool /app/log analyzer.py that reads a system log file and produces a strict JSON report…
Write a Python CLI tool /app/log analyzer.py that reads a system log file and produces a strict JSON report…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Goal : Parse a log file where each line is a log entry. Compute session durations, identify anomalous…
The task
**Goal**: Parse a log file where each line is a log entry. Compute session durations, identify anomalous events, sort, and output a JSON report matching the exact schema.
Part of ai-and/termgrade-environments.