system-commands

Retrieves the list of query commands registered in the system along with detailed information for each command.

Command properties

PropertyDescription
Command typeDriver query
Required permissionNone
License usageNot counted
Parallel executionNot supported
Distributed executionNot supported

Syntax

system-commands

Options

None

Output fields

FieldTypeDescription
namestringQuery command name
descriptionstringQuery command description
optionsmapOptions available when running the query command. Includes each option's required flag, display name, and description.
outputsmapFields output when the query command is executed, along with their descriptions
usagestringUsage examples for the query command
display_groupstringGroup to which the query command belongs (Maestro, Sonar, Forensic, etc.)
display_namestringDisplay name for the query command

Error codes

Parsing errors

N/A

Runtime errors

N/A

Description

The system-commands command retrieves the list of all query commands registered in the system along with detailed information for each command. Descriptions, options, and output field information are returned in the language of the session locale.

The options field returns, for each option, a map containing its required flag (required), display name (display_name), and description (description). The outputs field follows the same structure and returns information about each output field.

Examples

  1. Retrieve all query commands

    system-commands
    

    Retrieves the names and detailed information of all query commands registered in the system.

  2. Retrieve information about a specific command

    system-commands | search name == "stats"
    

    Retrieves the description, options, and output field information for the stats command.

  3. Retrieve only Sonar commands

    system-commands | search display_group == "Sonar"
    

    Retrieves only the query commands that belong to the Sonar group.