mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00

Logs that got sent sparsely or burstily would get buffered for long periods of time since the logic to flush them only does so on the next log write. In the worst case, a subsequent log write could never happen and cause a log entry to be indefinitely buffered. This fix introduces a recurring event/timer to simply flush all pending logs at frequency of Broker::log_batch_interval.
11 lines
183 B
Text
11 lines
183 B
Text
#separator \x09
|
|
#set_separator ,
|
|
#empty_field (empty)
|
|
#unset_field -
|
|
#path test
|
|
#open 2020-02-05-20-53-15
|
|
#fields msg num
|
|
#types string count
|
|
ping 0
|
|
ping 1
|
|
#close 2020-02-05-20-53-16
|