Write a Python script /app/log parser.py that reads a log file from /app/logs/input.log and outputs a JSON…
Write a Python script /app/log parser.py that reads a log file from /app/logs/input.log and outputs a JSON…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The input log file contains lines in a custom format. Each line represents an event. The format is…
The task
The input log file contains lines in a custom format. Each line represents an event. The format is: `TIMESTAMP|LEVEL|COMPONENT|MESSAGE`
Part of ai-and/termgrade-environments.