[Bro-Dev] #762: Add eof line to logfiles

Bro Tracker bro at tracker.bro-ids.org
Mon Jan 30 15:17:46 PST 2012


#762: Add eof line to logfiles
------------------------+-----------------------------
 Reporter:  amannb      |       Type:  Feature Request
   Status:  new         |   Priority:  Normal
Milestone:              |  Component:  Bro
  Version:  git/master  |   Keywords:
------------------------+-----------------------------
 I think it would be good to have a way to tell if a logfile was
 successfully completely written to the disk and propose to add some kind
 of end-of-file information to the end of a file.

 The easiest way would be just to add an
 #EOF
 to the last line of each logfile.

 That line should be ignored by parsing software (because it is prefixed by
 a #).
 Scripts and other software running analyses on logfiles could be sure that
 they only read files that are no longer being written to. It also could be
 used to ensure that files that have been transferred from a remote
 location are complete.

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/762>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list