HF RL Explorer

Reduce an access log to its failed requests

Reduce an access log to its failed requests: a task in vim-headless-mastery: vim (Harbor dataset). From access.log , keep only the requests that failed, i.e. whose status code is 400 or higher. The status code is the number that follows the quoted request; the same digits elsewhere on a line (in a…

The task

From `access.log`, keep only the requests that failed, i.e. whose status code is 400 or higher. The status code is the number that follows the quoted request; the same digits elsewhere on a line (in a path or as the response size) mean nothing.

Part of swedishembedded/vim-headless-mastery.