Write a command-line tool /usr/local/bin/loganalyzer that reads a system log file and produces a JSON report…
Write a command-line tool /usr/local/bin/loganalyzer that reads a system log file and produces a 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 in a specific format. The tool must extract…
The task
**Goal**: Parse a log file where each line is a log entry in a specific format. The tool must extract, filter, transform, and aggregate these entries into a strict JSON report with exact specifications.
Part of ai-and/termgrade-environments.