Skip to content

Read the evidence

Terminal layout, verdicts, coverage markers, scope boundaries, and JSON structure.

Output layout

Every command begins with a single header line identifying the command/operation ID, verdict, target identity, and timestamp. Depending on the command, it is followed by optional [COVERAGE] (skipped/error), [REDACTED] (masked fields), findings ([FINDINGS] or inline [WARN]/[FAIL] blocks on session/lock/txn), command-specific data sections, and [NEXT].

<command>  <VERDICT>  (<version>, <role>, <user>@<host>, endpoint=<target>, <collected_at>)
[COVERAGE]
  <probe_id>: skipped|error (<reason>)
[REDACTED]
  <probe_id>.<field>: <reason>
[FINDINGS]            # session/lock/txn print [WARN]/[FAIL] directly
  <LEVEL> <finding_id>: <symptom>
    verify: <next command>
[...command sections...]
[NEXT]
  <next command or operator action>

Long context headers wrap cleanly to 80 columns. Scripts should inspect --json fields (command, verdict, context, findings, data, redacted) rather than parsing terminal wording; legacy operation IDs (such as inst.summary on server) remain stable in JSON output.

Verdict, scope and missing evidence

Always verify target identity, collection time, and coverage before interpreting rows.

  • point is an instantaneous snapshot; counter accumulates since stats reset; delta compares samples; estimate uses catalog statistics (relpages) rather than locking tables.
  • A current-database check (object, vacuum, freeze table list, lock table names) says nothing about tables in other databases.
  • redacted / [REDACTED] records privilege masking (sys_monitor, sys_read_all_settings, etc.); skipped and error mark uncollected probes; not_applicable marks role/environment inapplicability rather than failure.
  • ? never means zero, and - never proves a healthy value; a higher-severity FAIL/WARN never hides coverage gaps.

Example interpretation & safety

Reference pages show captured KES V9 terminal outputs illustrating healthy, alert, or restricted-privilege paths depending on the command. Where a card omits routine rows with ... or lowers threshold flags to capture a warning sample, the example heading states it explicitly.

JSON and follow-up actions

Run kbdiag check --json or kbdiag session <pid> --json for structured JSON containing top-level command, verdict, context, findings, data (map keyed by probe_id), and redacted. Follow-up suggestions include read-only verification commands (kbdiag ...) and, where human intervention is needed, proposed SQL or DBA actions shown strictly for review—never executed by kbdiag.

Return to quick start