A tool to extract data from large logs

Keith Owens (kaos@ocs.com.au)
Tue, 15 Jul 1997 06:43:42 +1000


A frequent debugging problem is the size of the output logs. You are
interested in the last section of the log but standard processing only
lets you store the entire output. Alternatively you want all of the
output but broken up into manageable chunks.

bounded_log.pl is a Perl 5 script that reads standard input and can
extract the end of the data, periodic snapshots of the data or all of
the data in multiple output files. It was originally written to handle
kernel debugging output over a serial console line but can be used for
any large logs.

ftp://ftp.ocs.com.au/pub/bounded_log.pl-0.3.tgz