CLI reference guide
Explore the complete reference for the new WEKA CLI, including commands, subcommands, flags, and environment variables. Use the table or navigation to open a command group.
Command groups
weka agent
Manage the WEKA agent process.
weka alerts
List alerts in the cluster.
weka audit
Manage filesystem and cluster audit services.
weka catalog
Manage the Data Catalog service and indexed filesystem data.
weka cloud
Manage observability via cloud services.
weka cluster
Administer the cluster.
weka completion
Emit, install or remove autocompletion support for this utility.
weka dataservice
Manage dataservice configuration and tasks.
weka diags
Understand the status of the cluster and its environment.
weka driver
Manage WEKA drivers.
weka events
List all events that conform to the filter criteria.
weka fs
List filesystems defined in this cluster.
weka gui
Tools for reaching the cluster's web GUI from the CLI.
weka help
Display detailed help for a given command.
weka local
Control local resources and containers.
weka nfs
Manage the NFS service.
weka profile
Manage profile settings. Profiles are used to configure connection, authentication, and display preferences.
weka prompt
Interactively prompt for commands.
weka s3
Manage the S3 service.
weka security
Security-related commands.
weka smb
Manage SMB file sharing protocol service.
weka stats
Show statistics that conform to the filter criteria. Each statistic and sample is presented in its own row, possibly aggregated.
weka status
Show overall status of the cluster.
weka telemetry
Manage telemetry exports.
weka tenant
List tenants defined in the cluster.
weka upgrade
Control the cluster upgrade process.
weka user
List users defined in the cluster.
weka version
Lists the versions available on this machine.
Common options
These options are common to most commands and are omitted from the individual command descriptions on the command group pages.
Connection options
--CONNECT-TIMEOUT <duration>
Timeout for connecting to cluster.
-S, --CONTAINER <string>
Local container. Connect the named container running on this system.
-H, --HOST <string>
Connect to this host. Alternatively, use the WEKA_HOST env variable.
-P, --PORT <uint16>
Connect to this TCP port. Alternatively, use the WEKA_PORT env variable.
-T, --TIMEOUT <duration>
Timeout to wait for response.
--auto-accept-cert
Auto accept certificates. Skip confirming first certificate from unknown server. Alternatively, use the WEKA_AUTO_ACCEPT_CERT env variable.
-k, --insecure
Disable TLS verification. Should only be used if the network is trusted. Alternatively, use the WEKA_INSECURE env variable.
--jump <string>
Tunnel the connection through this SSH jump host, e.g. user@bastion. Uses the system ssh with your existing ~/.ssh/config, known_hosts, and agent. Alternatively, use the WEKA_JUMP_HOST env variable.
--kube-namespace <string>
Kubernetes namespace of the WEKA management service. Alternatively, use the WEKA_KUBE_NAMESPACE env variable.
--kube-weka-cluster <string>
Reach this WEKA cluster (by name) through kubectl port-forward to its operator-managed management service. Enables Kubernetes mode. Alternatively, use the WEKA_KUBE_CLUSTER env variable.
--kubeconfig <string>
Path to the kubeconfig file for kubectl port-forward. Defaults to kubectl's own resolution (KUBECONFIG / ~/.kube/config). Alternatively, use the WEKA_KUBECONFIG env variable.
Output options
-U, --UTC
Show times in UTC, instead of in the local timezone.
--accent-color <string>
Color to use for accents and titles. Hex code (#FF0000), name ('red'), or a palette index (0-255).
--binary-units
Show storage values in base-2 units (KiB, MiB, GiB) instead of base-10 units (KB, MB, GB).
--brand-color <string>
Color to use for branding and decorative elements. Hex code (#FF0000), name ('red'), or a palette index (0-255).
--browser
Display output in a web browser. The output is sent directly to a local browser.
--caption <string>
Add a caption to the output.
--classic
Classic text output. Compatible with earlier versions of Weka.
--clip
Limit output to terminal width. No effect if output is not a terminal.
--color <color-mode>
Whether to use color in output.
--csv
Output comma-separated values.
--custom-title <string>
Add a custom title to the output.
-F, --filter <strings>…
Filter by column value. Prefix with tilde ('~') to negate the filter. Multiple values may be supplied separated by commas, or the option may be repeated.
--filter-color <strings>…
Filter by color. Colors include 'red', 'yellow', 'green', 'brightred', 'brand', and 'accent'. Prefix with '~' to negate filter. Multiple values may be supplied separated by commas, or the option may be repeated.
--footer
Show a summary footer with column totals. Use --footer=false to hide it.
--head <int>
Output leading records. Skips this many leading records instead if negative.
--html
HTML output.
-J, --json
JSON output.
--markdown
Markdown output.
--no-header
Omit column headers.
--no-icons
Suppress use of icons for status.
-o, --output <strings>…
Columns to display. May include '+' or '-' before column to add or remove columns. Multiple values may be supplied separated by commas, or the option may be repeated.
--pager
Display output in a pager. Uses built-in pager. Override with WEKA_CLI_PAGER environment variable.
--plain
Plain output. Simple, unadorned without extra colors or decorations. Default when output is not a terminal.
--pretty
Pretty output. Uses a format optimized for readability. Default when output is a terminal.
--profile <profile>
Profile name. Configures connection, authentication, and other settings to use.
-R, --raw-units
Show values in raw units. This can be helpful to avoid loss of precision. For example, use bytes instead of GB or GiB.
-s, --sort <strings>…
Column(s) to sort by. May include '+' or '-' before column to sort ascending or descending. Multiple values may be supplied separated by commas, or the option may be repeated.
--tail <int>
Output trailing records. Omit this many trailing records if negative.
--title
Show the title in the output.
--tsv
Output tab-separated values.
-v, --verbose
Show verbose output.
--watch <duration>
Watch output. Re-runs the command at the specified interval (default 2s).
--width <int>
Maximum width of output. Uses terminal width if not specified.
weka
WEKA Administrative CLI.
--build
Prints build information and exits.
--check
Reports whether a newer CLI has been released, without offering to install it.
--legal
Prints software license information and exits.
--licenses
Prints third-party license information and exits.
--opt-in
Opt in to the new CLI. Replaces /usr/bin/weka.
--opt-out
Opt out of the new CLI. Restores /usr/bin/weka.
--update
Checks whether a newer CLI has been released, and offers to install it.
-v, --version
Prints the CLI version and exits.
Last updated