ZEEK-CLIENT(1)
π NAME π
okay so bestie, meet zeek-client β the actual main character of the ZEEK-CLIENT(1) manual page (User Commands section, iykyk). Thatβs the name, and yes itβs giving command-line royalty. π
β¨ SYNOPSIS β¨
zeek-client [-h] [-c FILE] [--controller HOST:PORT] [--set
SECTION.KEY=VAL] [--quiet | --verbose] [--version] {deploy,deploy-
config,get-config,get-id-value,get-instances,get-
nodes,monitor,restart,stage-config,show-settings,test-timeout} ...
πΈ DESCRIPTION πΈ
okay so zeek-client is a command-line client for Zeekβs Management Framework. Use this client to push cluster configurations to a cluster controller, retrieve running state from the system, restart nodes, and more. No cap, thatβs the whole vibe. π
For details about Zeekβs Management Framework, please consult the documentation at https://docs.zeek.org/en/master/frameworks/management.html.
π OPTIONS π
-c FILE,--configfile FILEβ Path to zeek-client config file. (Default:@ZEEK_CLIENT_CONFIG_FILE@)--controller HOST:PORTβ Address and port of the controller, either of which may be omitted (default:127.0.0.1:2149)--set SECTION.KEY=VALβ Adjust a configuration setting. Can use repeatedly. Seeshow-settings.--quiet,-qβ Suppress informational output to stderr.--verbose,-vβ Increase informational output to stderr. Repeat for more output (e.g.-vvv).--versionβ Show version number and exit.
π¦ COMMANDS π¦
hereβs the command menu, bestie β every single one, no skipping. π
π
zeek-client deploy
Deploy a staged cluster configuration.
usage: zeek-client deploy [-h]
π
zeek-client deploy-config
Upload a cluster configuration and deploy it.
usage: zeek-client deploy-config [-h] FILE
arguments:
FILEβ Cluster configuration file,"-"for stdin
π
zeek-client get-config
Retrieve staged or deployed cluster configuration.
usage: zeek-client get-config [-h] [--filename FILE] [--as-json]
[--deployed | --staged]
options:
--filename FILE,-f FILEβ Output file for the configuration, default stdout--as-jsonβ Report in JSON instead of INI-style config file--deployedβ Return deployed configuration--stagedβ Return staged configuration (default)
π
zeek-client get-id-value
Show the value of a given identifier in Zeek cluster nodes.
usage: zeek-client get-id-value [-h] IDENTIFIER [NODES ...]
arguments:
IDENTIFIERβ Name of the Zeek script identifier to retrieve.NODESβ Name(s) of Zeek cluster nodes to query. When omitted, queries all nodes.
π
zeek-client get-instances
Show instances connected to the controller.
usage: zeek-client get-instances [-h]
π
zeek-client get-nodes
Show active Zeek nodes at each instance.
usage: zeek-client get-nodes [-h]
π
zeek-client monitor
For troubleshooting: do nothing, just report events. honestly iconic. π«Ά
usage: zeek-client monitor [-h]
π
zeek-client restart
Restart cluster nodes.
usage: zeek-client restart [-h] [NODES ...]
arguments:
NODESβ Name(s) of Zeek cluster nodes to restart. When omitted, restarts all nodes.
π
zeek-client stage-config
Upload a cluster configuration for later deployment.
usage: zeek-client stage-config [-h] FILE
arguments:
FILEβ Cluster configuration file,"-"for stdin
π
zeek-client show-settings
Show zeek-clientβs own configuration.
usage: zeek-client show-settings [-h]
π
zeek-client test-timeout
Send timeout test event.
usage: zeek-client test-timeout [-h] [--with-state]
options:
--with-stateβ Make request stateful in the controller.
π EXIT STATUS π
The client exits with 0 on success and 1 if a problem arises, such as lack of a response from the controller, unexpected response data, or the controller explicitly reporting an error in its handling of a command. So yeah: 0 = slay, 1 = somethingβs off. π
π ENVIRONMENT π
zeek-client supports the following environment variables:
ZEEK_CLIENT_CONFIG_FILEβ Same as--configfileargument, but lower precedence.ZEEK_CLIENT_CONFIG_SETTINGSβ Same as a space-separated series of--setarguments, but lower precedence.
π«Ά SUGGESTIONS AND BUG REPORTS π«Ά
β οΈ heads up, bestie: the Management Framework and this client are experimental software. The Zeek team welcomes your feedback.
Please file issues on Github at https://github.com/zeek/zeek-client/issues, or contact us on Discourse or Slack: https://zeek.org/community.
Thatβs the whole zeek-client page from the ZEEK-CLIENT(1) manual, bestie π β the footerβs source/manual tag is zeek-client / ZEEK-CLIENT(1), and no separate version number or date was printed in this copy, so Iβm not inventing one. periodt. β¨
π¦ where this page comes from
- nixos 26.05: zeek 8.0.10
- nixpkgs unstable: zeek 8.2.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms