Console Terminal

Output options and filters

Options accepted by every table command in the console terminal: severity, source, state, limit, sort and JSON.

1 min read
On this page

Overview

Every command that returns a table accepts the same options. Combine them freely.

OptionEffect
--sev <CRIT|HIGH|MED|LOW>keep only rows with that severity
--src <source>keep only rows from that source
--state <state>keep only rows in that state
--limit <n>limit the number of rows
--sort <column>sort by the given column
--jsonreturn the table as JSON

Examples

alerts --sev CRIT --limit 10
queue mine --sort age
incidents --json
sources --state degraded

Keyboard

KeyAction
TabComplete a command or argument
↑ / ↓Browse the command history
Ctrl+LClear the screen (same as clear)
Ctrl+CCancel the current line or confirmation prompt
Ctrl+RSearch the command history

Tips

  • Start with a narrow filter (--sev CRIT) and widen it, rather than reading long tables.
  • Use --json when copying results into a ticket or a script; the fields match the table columns.
  • Options apply only to data you are allowed to read; they never show rows of an unlicensed module.

If a command returns nothing

CauseCheck
Filter too narrowRemove options one by one
No retained data yetThe module may still be waiting for traffic or mail
Missing permissionAsk an administrator to review your role