zeek/scripts/policy/frameworks/management/controller
Christian Kreibich d1cd409e59 Management framework: set defaults for log rotation and persistent state
This adds management/persistence.zeek to establish common configuration for log
rotation and persistent variable state. Log-writing Zeek processes initially
write locally in their working directory, and rotate into subdirectory
"log-queue" of the spool. Since agent and controller have no logger,
persistence.zeek puts in place compatible configurations for them.

Storage folders for Broker-backed tables and clusterized stores default to
subdirectories of the new Zeek-level state folder.

When setting the ZEEK_MANAGEMENT_TESTING environment variable, persistent state
is kept in the local directory, and log rotation remains disabled.

This also tweaks @loads a bit in favor of simply loading frameworks/management,
which is easier to keep track of.
2022-05-26 12:55:10 -07:00
..
__load__.zeek Management framework: distinguish supervisor/supervisee when loading agent/controller 2022-05-25 13:56:23 -07:00
api.zeek Management framework: increase robustness of agent/controller naming 2022-05-25 13:56:23 -07:00
boot.zeek Management framework: establish stdout/stderr files also for cluster nodes 2022-05-25 13:56:23 -07:00
config.zeek Management framework: set defaults for log rotation and persistent state 2022-05-26 12:55:10 -07:00
main.zeek Management framework: move role variable from logging into framework-wide config 2022-05-25 13:56:23 -07:00