mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 20:18:20 +00:00
Change path conflicts between log filters to be auto-corrected.
This change makes it so when differing logging filters on the same stream attempt to write to the same writer/path combination, the path of the filter doing the later write will be automatically adjusted so that it does not conflict with the other. The path is adjusted by appending "-N", where N is the smallest integer greater or equal to 2 required to resolve the path name conflict. Addresses #842.
This commit is contained in:
parent
8633d91c40
commit
63e8bf72ed
7 changed files with 124 additions and 26 deletions
|
@ -0,0 +1,23 @@
|
|||
#separator \x09
|
||||
#set_separator ,
|
||||
#empty_field (empty)
|
||||
#unset_field -
|
||||
#path http-2
|
||||
#start 2011-03-18-19-06-08
|
||||
#fields host
|
||||
#types string
|
||||
bits.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
meta.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
upload.wikimedia.org
|
||||
#end 2011-03-18-19-06-13
|
Loading…
Add table
Add a link
Reference in a new issue