37/46
Sign inSign up free

394. 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.

Teaching or writing about this? Embed this lab on your page

TerminalNot started

Your machine is ready to start

A fresh, isolated Ubuntu machine boots in a few seconds with the task already set up.

No account needed: 3 of 3 free tries left. Guest machines last 30 minutes.