zeek / zeek-client

Experimental implementation of Zeek's future cluster management client
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Expand client configurability and switch to pretty-printed JSON. #8

Closed ckreibich closed 2 years ago

ckreibich commented 2 years ago

This allows overriding the client's config setting via environment variable and the new --set command-line flag. It also adds a config knob to control JSON rendering with/without pretty-printing, defaulting it to on.

Example: to turn that flag off, you'd say zeek-client --set client.pretty_json=false ....

(Unit tests forthcoming, I'm putting the basic harness for it together in a separate PR)

ckreibich commented 2 years ago

Closing this, commits got merged via another branch.