Pull the Errors from an Incident Window

medium 20 XP ~6 minHands-on lab

An incident hit ledgerd on 2026-10-14 between 21:00 and 21:59. The log is /srv/lab/logs/ledgerd.log and covers several days.

Task

  • Write every line with level ERROR from that hour of that day to /home/student/incident.log, in the original order.
  • Write the number of those lines (just the number) to /home/student/incident-count.txt.

Each log line looks like 2026-10-14T09:12:03Z LEVEL message.

About this machine

Ubuntu 24.04 with no internet access. You are student with passwordless sudo. The grader checks the final state of the machine, not the commands you typed. Values like names and ports are generated for you.

TerminalNot started

Your machine is ready to start

Create a free account to open a machine and get graded.