mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/timw/360-log-gzip'
* origin/topic/timw/360-log-gzip: Add new LogAscii::gzip_file_extension option. Adjusted documentation during merge.
This commit is contained in:
commit
9ccf3549fd
9 changed files with 44 additions and 9 deletions
|
@ -34,11 +34,18 @@ export {
|
|||
|
||||
## Define the gzip level to compress the logs. If 0, then no gzip
|
||||
## compression is performed. Enabling compression also changes
|
||||
## the log file name extension to include ".gz".
|
||||
## the log file name extension to include the value of
|
||||
## :zeek:see:`LogAscii::gzip_file_extension`.
|
||||
##
|
||||
## This option is also available as a per-filter ``$config`` option.
|
||||
const gzip_level = 0 &redef;
|
||||
|
||||
## Define the file extension used when compressing log files when
|
||||
## they are created with the :zeek:see:`LogAscii::gzip_level` option.
|
||||
##
|
||||
## This option is also available as a per-filter ``$config`` option.
|
||||
const gzip_file_extension = "gz" &redef;
|
||||
|
||||
## Format of timestamps when writing out JSON. By default, the JSON
|
||||
## formatter will use double values for timestamps which represent the
|
||||
## number of seconds from the UNIX epoch.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue