NetStacksNetStacks

Recording, Logging & Saving Output

Capture terminal sessions in NetStacks: asciicast session recordings with playback, plain-text session logs, Save Output to Docs, inline capture to documents, and troubleshooting sessions.

Which Tool to Use

ToolCapturesResultMode
Session loggingAll output from start to stop, as plain textA document in Docs → Outputs → logsBoth
Save Output to DocsThe current terminal buffer, onceA document at a path you chooseBoth
Session recordingOutput and keystrokes with timingAn asciicast .cast file you can replayStandalone
Troubleshooting sessionCommands and output across chosen terminals, plus AI chatAn AI-written summary documentStandalone

Session Logging

  1. Right-click inside the terminal and choose Start Session Logging. A LOG badge appears at the top of the terminal.
  2. Work as normal.
  3. Right-click again and choose Stop Session Logging.

When you stop, the log is saved as a document named Session Log - <session> - <date time> in Docs (Outputs, logs folder). Logs are plain text with color codes stripped.

In the standalone app, the raw file is also kept at ~/Documents/NetStacks/logs/ (hover the LOG badge to see the path), and Settings → Session Logs (or Tools → Session Logs…) lists your logs with View, Export (downloads a .log file) and Delete.

Save Output to Docs

  1. Right-click inside the terminal and choose Save Output to Docs..., or press ⌘⇧S / Ctrl+Shift+S.
  2. In Save Terminal Output to Docs, enter a Document Path after the fixed docs/ prefix, for example configs/site-a/router1. Slashes create folders.
  3. Check the line and character count and click Save.

Inline Capture with |>

In the standalone app you can send one command's output straight to a document by adding a capture suffix when you type the command:

  • show running-config |> docs/configs/router1 — save (overwrite) the output to that document.
  • show log |>> docs/logs/router1 — append to the document.

While a capture is running, press ⌘D / Ctrl+D to finish it or Esc to cancel.

Session Recording

A recording captures everything shown in the terminal with its timing, so it can be replayed later like a video. Recordings use the asciinema asciicast v2 format (.cast).

  1. Right-click inside the terminal (not on the tab) and choose Start Recording. A red REC badge appears.
  2. Right-click and choose Stop Recording when done.

Recordings are named Recording <date time>; rename them in the library. There is no keyboard shortcut for recording (⌘⇧R / Ctrl+Shift+R is Reconnect). Files are stored in ~/Documents/NetStacks/recordings/, and a link document is added to Docs (Outputs, recordings folder) that plays the recording when opened.

Recordings contain what you type
Recordings capture keystrokes as well as output, including anything typed at a password prompt. Treat .cast files as sensitive and review them before sharing.

Recordings Library and Playback

Open Settings → Recordings (or Tools → Recordings…). Each row shows the name, date, duration and terminal size, with:

  • Play — opens the player.
  • Rename.
  • Share — downloads the recording as a .cast file, playable with asciinema.
  • Delete.

The player has Play/Pause, Stop, a progress bar you can click to seek, the elapsed and total time, and speeds of 0.5x, 1x, 1.5x, 2x and 4x.

Troubleshooting Sessions

A troubleshooting session records the commands and output from one or more connected terminals while you work an issue, then asks the AI to write it up as a structured document.

  1. Click Troubleshoot in the status bar, or press ⌘⇧K / Ctrl+Shift+K.
  2. Enter a Session Name, tick the terminals under Terminals to Capture, and choose whether to Include AI conversations in recording.
  3. Click Start Recording. A status-bar indicator shows the session is running; click it for options, including Attach Topology.
  4. Click End & Generate Report. The summary is saved to Docs.
Start Troubleshooting Session dialog with Session Name, Terminals to Capture, Include AI conversations option and Start Recording button

Sessions end automatically after a period of inactivity (15 minutes by default) and are saved. Change this in Settings → Troubleshooting (Inactivity Timeout, Auto-save on Timeout, Capture AI Conversations).

Enterprise Notes Enterprise

In enterprise mode and the web terminal, session logging and Save Output to Docs work as described and are stored on the Controller. The Recordings and Session Logs settings tabs are hidden.

Administrators find recordings saved to the Controller under Access & Secrets → Recordings in the admin console, where they can view, download (.cast) and delete them. Whether clients may save recordings to the Controller is controlled by the Session Recording switch in the Controller's Terminal Sessions settings.

Controller admin console Recordings page listing recordings with Name, Session, Size, Status and Created columns