[Bro] how to append to file?
hall.692 at osu.edu
Wed Oct 29 07:29:27 PDT 2008
On Oct 29, 2008, at 7:49 AM, hossein talebi wrote:
> i have write scripts (inside a policy)
> i have write following line :
> "global result_file = open_log_file("result_file")"
> this led to create a new file with result_file in current directory
> i want to run my policy to multi file and put output per file in
> but while i run my policy are create new file and overwrite to old
I'm not sure what you're asking here.
> how to append output to old "result_file" without create new
You can make appending the default behavior for all of your log files
by loading the "log-append" script.
Network Security - Office of the CIO
The Ohio State University
More information about the Bro