mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00

* origin/topic/seth/json-formatter: Updating a couple of tests. Expanded support for modifying the timestamp format in the JSON formatter. Ascii input reader now supports all config options per-input stream. Added an option to the JSON formatter to use ISO 8601 for timestamps. Refactored formatters and updated the the writers a bit. Includes some minor bugfixes and cleanup at various places, including in old code.
18 lines
485 B
Text
18 lines
485 B
Text
# Sets some testing specific options.
|
|
|
|
@ifdef ( SMTP::never_calc_md5 )
|
|
# MDD5s can depend on libmagic output.
|
|
redef SMTP::never_calc_md5 = T;
|
|
@endif
|
|
|
|
@ifdef ( LogElasticSearch::server_host )
|
|
# Set to empty so that logs-to-elasticsearch.bro doesn't try to setup
|
|
#log forwarding to ES.
|
|
redef LogElasticSearch::server_host = "";
|
|
@endif
|
|
|
|
@ifdef ( LogAscii::use_json )
|
|
# Don't start logging everything as JSON.
|
|
# (json-logs.bro activates this).
|
|
redef LogAscii::use_json = F;
|
|
@endif
|