Add new LogAscii::gzip_file_extension option.

This can be used with the LogAscii::gzip_level option to set the file extension of log files when they are compressed at creation time.
This commit is contained in:
Tim Wojtulewicz 2019-08-05 14:23:06 -07:00
parent 6fa0f4ac49
commit 337da50da6
5 changed files with 32 additions and 5 deletions

View file

@ -1,12 +1,13 @@
#
# @TEST-EXEC: zeek -b %INPUT
# @TEST-EXEC: gunzip ssh.log.gz
# @TEST-EXEC: gunzip -S .gzip ssh.log.gzip
# @TEST-EXEC: btest-diff ssh.log
# @TEST-EXEC: btest-diff ssh-uncompressed.log
#
# Testing all possible types.
redef LogAscii::gzip_level = 9;
redef LogAscii::gzip_file_extension = "gzip";
module SSH;