mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
...and another small change to error handling -> now errors in single lines
do not kill processing, but simply ignore the line, log it, and continue.
This commit is contained in:
parent
5c486dae7e
commit
56fa56ffa9
4 changed files with 32 additions and 20 deletions
|
@ -13,17 +13,10 @@
|
|||
#types int count
|
||||
12129223372036854775800 121218446744073709551612
|
||||
9223372036854775801TEXTHERE 1Justtext
|
||||
Justtext 1
|
||||
9223372036854775800 -18446744073709551612
|
||||
@TEST-END-FILE
|
||||
|
||||
@TEST-START-FILE input2.log
|
||||
#separator \x09
|
||||
#fields i c
|
||||
#types int count
|
||||
Justtext 1
|
||||
@TEST-END-FILE
|
||||
|
||||
|
||||
@load frameworks/communication/listen
|
||||
|
||||
global outfile: file;
|
||||
|
@ -51,5 +44,5 @@ event bro_init()
|
|||
event Input::update_finished(name: string, source:string)
|
||||
{
|
||||
print outfile, servers;
|
||||
Input::add_table([$source="../input2.log", $name="ssh2", $idx=Idx, $val=Val, $destination=servers]);
|
||||
terminate();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue