Expand description
Command-output processor for support-dump files.
Handles the > command + output-block shape that vendor diagnostic
bundles use (Dataiku diag.txt, Elastic diagnostics, MongoDB mdiag,
sosreport-style dumps):
Mon Jun 22 04:01:46 AM UTC 2026
> hostname --fqdn
dss-prod-01.corp.example.com
----------------------------------------------------------
> printenv
HOSTNAME=dss-prod-01
HTTPS_PROXY=http://user:secret@proxy:3128A line starting with the prompt prefix opens a block: the rest of that
line is the command string, and the block’s content is every following
line until the next prompt line, a separator line (four or more dashes),
or end of input. Field rules are matched against the command string with
the usual glob syntax (hostname* matches hostname --fqdn).
- A matching rule with
sub_processordelegates the block content to that processor with the rule’ssub_fields— e.g. aprintenvblock to theenvprocessor. - A matching rule without
sub_processortreats the trimmed block as a single value and replaces it with the rule’s category (fits single-line outputs likehostname --fqdn); surrounding whitespace and blank lines are preserved. - Blocks with no matching rule, prompt lines, separators, timestamps, and any text outside a block are preserved byte-for-byte.
§Profile Options
| Key | Default | Description |
|---|---|---|
prompt_prefix | "> " | Line prefix that opens a command block. |
Structs§
- Command
Output Processor - Processor for
> command+ output-block support dumps.