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:
Jon Siwek 2019-08-13 13:48:47 -07:00
commit 9ccf3549fd
9 changed files with 44 additions and 9 deletions

View file

@ -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.