[Bro] recipe for log rotating?

Christopher Jay Manders cjmanders at gmail.com
Tue Nov 16 08:17:42 PST 2010


Hi Tim,

I use logrotate.

It was made for Linux, but is ported to FreeBSD
(/usr/ports/sysutils/logrotate/). Very configurable for log management.

Check out this resource for an example config and online documentation:

http://www.linuxconfig.org/Logrotate

HTH

Cheers!

Christopher



On 11/16/2010 07:09 AM, Tim Rupp wrote:
> Hi folks,
>
> I was wondering if anyone had a recipe for changing the log rotate
> script to rotate bro logs like regular log rotate does
>
> notice.log
> notice.log.1
> notice.log.2
> notice.log.3
> etc
>
>
> vs
>
> notice.log-10-11-15_13.00.00
> notice.log-10-11-15_14.00.00
> notice.log-10-11-15_15.00.00
> notice.log-10-11-15_16.00.00
> etc
>
>
> And extra points for cleanup of "old" logs.
>
> Thought I'd ask before I did it myself.
>
> Thanks,
> -Tim
> _______________________________________________
> Bro mailing list
> bro at bro-ids.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/bro




More information about the Bro mailing list