log-filters

log-filters

Common log filters for Zeek IDS

This is a Zeek package that provides commonly requested log filters. These filters either modify or prevent the logging of events or records.

Installing with zkg (preferred)

This package can be installed through the Zeek package manager by utilizing the following commands:

zkg install zeek/hosom/log-filters

# you must separately load the package for it to actually do anything
zkg load zeek/hosom/log-filters

Configuration

The package installs with no log filters configured, however, log filters can be defined and loaded safely within config.zeek.

The filters are described below.

Provided Filters

whitelist-analyzers-fileslog.zeek

A filter that restricts the files.log to only files that have a specified file analyzer attached to them.

Configuration

To load this filter, add the following line to your config.zeek:

@load filters/whitelist-analyzers-fileslog

To whitelist an analyzer, redef the set logged_file_analyzers.

whitelist-mimetypes-fileslog.zeek

A filter that restricts the files.log to only files that have a specified file mimetype detected.

Configuration

To load this filter, add the following line to your config.zeek:

@load filters/whitelist-mimetypes-fileslog

To whitelist a mimetype, redef the set logged_file_mimetypes.

Package Version :