Build a command-line tool /app/logquery that queries a custom log format. The log file is a UTF-8 text file…
Build a command-line tool /app/logquery that queries a custom log format. The log file is a UTF-8 text file…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). The tool accepts these arguments in order: 1. Path to log file 2. A key name to filter on 3. A value to…
The task
The tool accepts these arguments in order: 1. Path to log file 2. A key name to filter on 3. A value to match (exact string match) 4. Output format: `records` or `values` or `count`
Part of ai-and/termgrade-environments.