base/frameworks/config/main.zeek¶
-
Config
¶
The configuration framework provides a way to change Zeek options (as specified by the “option” keyword) at runtime. It also logs runtime changes to options to config.log.
- Namespace
Config
- Imports
Summary¶
Types¶
Represents the data in config.log. |
Redefinitions¶
The config logging stream identifier. |
Events¶
Event that can be handled to access the |
Hooks¶
A default logging policy hook for the stream. |
Functions¶
This function is the config framework layer around the lower-level
|
Detailed Interface¶
Events¶
-
Config::log_config
¶ - Type
event
(rec:Config::Info
)
Event that can be handled to access the
Config::Info
record as it is sent on to the logging framework.
Functions¶
-
Config::set_value
¶ -
This function is the config framework layer around the lower-level
Option::set
call. Config::set_value will set the configuration value for all nodes in the cluster, no matter where it was called. Note thatOption::set
does not distribute configuration changes to other nodes.- ID
The ID of the option to update.
- Val
The new value of the option.
- Location
Optional parameter detailing where this change originated from.
- Returns
true on success, false when an error occurs.