mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Tweaking logs-to-elasticsearch.bro so that it doesn't do anything if
ES server is unset.
This commit is contained in:
parent
32590177a0
commit
4bdac985cb
2 changed files with 10 additions and 1 deletions
8
testing/external/scripts/testing-setup.bro
vendored
8
testing/external/scripts/testing-setup.bro
vendored
|
@ -1,6 +1,12 @@
|
|||
# Sets some testing specific options.
|
||||
|
||||
@ifdef ( SMTP::never_calc_md5 )
|
||||
# MDD5s can depend on libmagic output.
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue