Terminal UI (logsht)

logsht — Terminal UI

logsht is an interactive terminal UI for querying and exploring your Logship data. It uses your existing logsh contexts and configuration.

Getting Started

logsht

logsht connects to the current logsh context automatically. Make sure you have at least one context configured:

logsh ctx add https://my.logship.server
logsht

Layout

logsht has three main panes:

  • Schemas — browse and filter tables on the connected server
  • Editor — write and edit queries with full text editing
  • Results — navigate query results with keyboard controls

Use Tab and Shift+Tab to cycle focus between panes.

Keybindings

Global

KeyAction
Tab / Shift+TabCycle focus: Schemas → Editor → Results
Alt+Enter / Ctrl+RExecute query
Ctrl+KOpen context switcher
Ctrl+SOpen saved queries
Alt+Up / Alt+DownNavigate query history
:Open command bar
? / Ctrl+HShow help
Ctrl+Q / Ctrl+CQuit

Schemas Pane

KeyAction
j / k / / Navigate tables
EnterSelect table → editor
rRefresh schemas
TypeFilter tables by name

Editor Pane

KeyAction
TypeEnter query text (full text editor)
EscMove focus to schemas

Results Pane

KeyAction
j / k / / Move cursor up/down rows
h / l / / Navigate columns
PgUp / PgDnScroll 20 rows
g / GJump to top / bottom

Overlays

KeyAction
TypeFilter items in any overlay
BackspaceClear filter character
Ctrl+DDelete saved query (in saved overlay)
EscClose overlay

Commands

Commands are entered via the command bar. Press : to open it.

CommandDescription
:quitExit logsht
:refreshReload schemas from server
:clearClear query and results
:ctxOpen context switcher
:helpShow keybindings
:accountOpen account picker
:savedOpen saved queries
:saveSave current query
:cellFullscreen focused cell value
:rowExpand focused row as key-value pairs
:copy cellCopy focused cell to clipboard
:copy rowCopy focused row as JSON
:copy jsonCopy all results as JSON