mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Improve remote logging via broker.
Only send fields with the &log attribute.
This commit is contained in:
parent
69693663eb
commit
25a4d0ebed
7 changed files with 59 additions and 26 deletions
|
@ -843,8 +843,8 @@ bool Manager::Write(EnumVal* id, RecordVal* columns)
|
|||
}
|
||||
|
||||
#ifdef ENABLE_BROKER
|
||||
if ( stream->enable_remote )
|
||||
if ( ! comm_mgr->Log(id, columns, stream->remote_flags) )
|
||||
if ( stream->enable_remote &&
|
||||
! comm_mgr->Log(id, columns, stream->columns, stream->remote_flags) )
|
||||
stream->enable_remote = false;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue