Feature: activity log

Every Action on the Record, and an Edit That Shows

Every sign-in, change and action on a machine, with the account behind it, in plain text files that grep reads when qKVM is down. Each line is chained to the one before and signed, so a line taken out or changed shows.

Search a Long Log at Once

Who did what, found in a moment

Settings, Activity, for admins. Search by words, and narrow to sign-ins, actions, changes or alerts, to one machine, to an account or a token, and to a time from and to.

  • Faston a test PC, a 100 MB log of 630,000 entries searched in 0.2 s, from an index beside the files
  • Downloadas a table (CSV) or as the lines themselves, all of it or what is shown
  • On the tilean admin sees the last three things done to a machine, and All of it opens the log there
Activity log
The activity log: sign-ins, actions and alerts with when, who, what and from which address, and boxes to narrow it.
The activity log: sign-ins, actions and alerts with when, who, what and from which address, and boxes to narrow it.

What It Records

Sign-ins

Sign-ins and sign-outs, wrong passwords and codes, each with the address it came from.

Changes

Every change of the settings, accounts, tokens, machines and saved actions; a file exported or taken in.

Actions and views

Every action on a machine, and one that failed; live views and how long; keyboard and mouse taken, taken over and given back; alerts.

Never

A password, a key pressed or a text that was typed is never written down.

A Chain That Shows an Edit

Chained and signed

Each line carries its number, the head of the chain before it, and a signature with the log's key, kept in the sealed settings and never in the clear.

Check the log

On the page, some 3 s for 50 MB: intact, or broken at line N and what: changed, missing, out of order, cut off.

Checked offline

python -m qkvm.checklog reads the files or a download of JSON lines, and exits 0 to 4 for a script.

Heads kept outside

Every line to your syslog collector with its place in the chain, and a daily seal to an alert destination: then even a log written anew with the key shows.

Kept, Sent On, and Limits

How much
50 MB in ten files of 5 MB: about five months of a busy wall of 64 machines with three people at work. The index beside it takes about two and a half times as much.
Syslog
Started with --audit-syslog, qKVM sends each entry to a collector as it is written (RFC 5424). That is plain UDP or TCP: use a protected relay or a management network.
The daily seal
Ten minutes after each start and once a day: the line number and its head, nothing of what the log says. Not offered for PagerDuty.
What is not caught
Somebody who holds the running wall, or the data folder together with the vault key, can write the log anew and sign it. Only heads kept outside the wall show that.
In clear
The log is plain text in the data folder; only the settings are sealed.
A loop cannot flood it
Live views write 120 entries an hour per account at most, then a count, so a script cannot push older entries out.
For a program
What the log says of one machine is part of API v1; the Desktop App reads it for a qKVM server's admins.