Write a CLI tool log analyzer that reads an Apache-style combined log file (UTF-8, may contain non-ASCII in…
Write a CLI tool log analyzer that reads an Apache-style combined log file (UTF-8, may contain non-ASCII in…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input: - A log file path (positional argument) - --from optional ISO 8601 timestamp (UTC, e.g…
The task
**Input:** - A log file path (positional argument) - `--from` optional ISO 8601 timestamp (UTC, e.g., `2024-03-15T10:00:00Z` or `2024-03-15T10:00:00+00:00`) - `--to` optional ISO 8601 timestamp (UTC, same formats as `--from`) - `--format` optional output format: `json` (default) or `jsonl`
Part of ai-and/termgrade-environments.