Search the docs
Menu
Updated Edit on GitHub

Session recordings

Copy as Markdown

The server keeps recordings of remote sessions: what the browser viewer records, what the NeoDesk app on a computer records, and terminal sessions as text. Recordings in the sidebar (under Activity) lists them for accounts with Watch recordings. The rules and the storage are in Settings, Recordings.

What is recorded

Session Recorded as Where it comes from
Browser viewer on a NeoDesk computer WebM video The viewer records its picture and uploads a piece every 3 seconds
Browser viewer on an RDP or VNC target, a MeshAgent WebM video The same
NeoDesk app on the computer WebM or MP4 video The app records the session and uploads it while it runs
Terminal of a CDAP device or a MeshAgent Text with timing (asciicast) The console's terminal

The upload runs while the session runs, so a closed browser tab or a computer that goes away loses only the last seconds: the server ends a recording that gets no piece for 2 minutes (30 minutes for the NeoDesk app) and marks it Broken off.

Who is recorded

Each device has a rule: Off, On request or Always.

  • Off: no session is recorded.
  • On request: the person who connects may record with Record the session in the viewer's Settings menu. This is the default.
  • Always: every session is recorded from start to end, and the viewer has no stop button, only Recorded. A session doesn't start when its recording can't, for example when the storage is full or can't be written: the viewer says " is recorded, and the recording could not start." When the server stops taking the recording during a session, the session ends.

A device follows its own rule, else the strictest rule of its device groups, else its organization's, else the whole server's. Two switches win over every rule: Allow session recording off in the organization's policy, and Allow recording session off in the NeoDesk app on the computer. Then nothing is recorded and the session still opens. When the computer's switch kept an "Always" session from being recorded, the list shows it as Not recorded: the computer does not allow recording, the session history on the device's Metrics tab says the same, and the audit log has an entry for it.

"Always" for sessions from the NeoDesk desktop app needs the NeoDesk app from this release on the controlled computer: the app reads the rule, records the session itself and refuses a session it can't record. An older app doesn't know the rule, so its sessions are not recorded. The browser viewer enforces the rule for every computer.

Settings, Recordings: rules for the whole server, an organization and a device, and the form that adds or changes a rule, full size

Sessions through a guest link are recorded too:

  • A device recorded Always records every guest session. When the recording can't start, the guest session doesn't start either.
  • A device recorded On request records a guest session only when the link was made with Record the sessions of this link. Without it, guest sessions to that device are not recorded.
  • Before a recorded guest session starts, the guest reads "This session is recorded" and chooses Continue or cancels.

The recording is listed with the account that made the link and names the link. The guest needs no console account: the server gives the guest's viewer an upload key that writes only to that one recording, while it records. It can't read any recording or write to another one.

The person at the computer

When a session is recorded, the NeoDesk app on the computer shows it in its connection window, from the moment the recording starts. RDP and VNC targets and MeshAgents have no such window.

Finding a recording

The list shows the newest first, 50 to a page: the device, the person who connected, when it started, its length, the kind of session, its size and its state, and Legal hold in the Hold column for a recording under a legal hold. Device searches the device's ID and name, Person the account's name, From and To the start date, and Legal hold filters by All, Held or Not held. Accounts that don't see every device see only the recordings of the devices they see.

Two other ways in:

  • The device panel's Metrics tab: a session in Connection sessions that was recorded has Watch recording under its length.
  • The audit log: entries about a recording have Watch recording.

Playing a recording

A click on a row opens the recording beside the list. A video plays in the browser; drag the bar to jump anywhere. A terminal session replays in a terminal with Play, a slider and the speed (1× to 8×); jumping redraws the terminal exactly as it was at that moment.

Download (needs Download recordings) saves the file: neodesk-<device>-<time>.webm, .mp4 or .cast. A .cast file plays with asciinema. Delete (needs Delete recordings) removes the recording and its file from the server for good. A recording under a legal hold has no Delete.

A legal hold keeps a recording, for example for a court case or a complaint: a held recording stays past its retention, and nobody can delete it until the hold is lifted.

  • Put on hold in the recording's panel (needs Put recordings on legal hold) asks for the reason, at most 500 characters. The panel then shows Legal hold with when, by whom and why, and the list's Hold column shows Legal hold with the same on hover. Everyone with Watch recordings sees the hold.
  • Change reason gives a held recording a new reason.
  • Lift hold ends the hold. The recording follows its retention again; one past it goes at the next check, within a minute.

While the hold lasts, the console, the API (DELETE /api/recordings/<id> answers 409 with the code recording_held), the command line and the NeoDesk app can't delete the recording, and a restore of a full backup leaves it and its hold as they are.

Retention

Recordings are deleted after their organization's retention, 90 days by default; 0 keeps them until someone deletes them. A device without an organization follows the server's retention. The server checks every minute. Recordings under a legal hold stay, and they don't hold up the deletion of the others.

Permissions

Permission What it allows Roles that have it by default
Watch recordings (recording.view) The Recordings page and playing Super admin, Global admin
Download recordings (recording.download) Download (needs Watch recordings) Super admin, Global admin
Delete recordings (recording.delete) Delete (needs Watch recordings) Super admin, Global admin
Set recording rules (recording.manage) The rules in Settings, Recordings Super admin, Global admin
Put recordings on legal hold (recording.hold) Put on hold, Change reason and Lift hold (needs Watch recordings) Super admin

Only Super admin and Administrator have Put recordings on legal hold by default. A Super admin can tick it for another role, or for a custom role, on Roles and permissions. While Global admin doesn't have it, a Global admin can't give a role that does (see who can give which role).

The storage settings need Change server settings.

Audit entries

Entry When
Recording started (recording_started) A recording starts, from the viewer or the NeoDesk app
Recording watched (recording_watched) Someone plays a recording; seeking within half an hour writes no second entry
Recording downloaded (recording_downloaded) Someone downloads a recording
Recording deleted (recording_deleted) Someone deletes a recording
Recording rule saved (recording_rule_saved), Recording rule removed (recording_rule_deleted) A rule changes
Recording storage changed (recording_storage_saved) The storage settings change; the entry names the settings, never the S3 secret
Session not started: recording unavailable (recording_unavailable) A session that must be recorded is refused
Recording broken off (recording_interrupted) The server ends a recording that got no more pieces
Session not recorded: the computer doesn't allow recording (recording_refused_by_device) A session that the rule records ran unrecorded because Allow recording session is off on the computer
Recording deleted after its retention (recording_expired) The retention removes a recording
Recording put on legal hold (recording_hold_set) Someone puts a recording on hold; the entry has the recording, the device and the reason
Legal hold reason changed (recording_hold_changed) Someone gives a held recording a new reason
Legal hold lifted (recording_hold_lifted) Someone lifts a hold; the entry has the reason the hold had

Command line

neodesk recordings lists, shows, downloads and deletes recordings, puts them on legal hold and lifts the hold (recordings hold <id> --reason ..., recordings release <id>, recordings list --held true), and sets the rules and the storage; see the command reference.

Type to search pages, sections, commands and settings.