Bugzilla – Bug 12647
logtool: a command line program that will parse ASCII logfiles into a more palatable format
Last modified: 2006-06-09 09:22:38 UTC
Logtool is a command line program that will parse ASCII logfiles into a more palatable format. It will take anything resembling a syslog or multilog file (this includes syslog-ng, and probably most of the other variants out there), and crunch it into one of the following formats for your viewing pleasure: * ANSI (colorized for easy "at a glance" viewing) * ASCII (for e-mail'ed reports, and term's that don't support color) * CSV (for importing into your favorite spreadsheet/database) * HTML (for generating web pages) * RAW (for no good reason) It can be configured to parse the data any one of several ways, including stripping the host, and/or program fields, and modifying the time display format of the log entry's. It's additional features include support for config file based regular expressions to do everything from excluding/including certain log entry's (using both in conjunction you can create boolean searches), as well as color coding the ANSI and HTML output. And of course there's a config file so you can define your defaults once, and not have to remember those pesky command line switches.
Created attachment 6279 [details] tar.bz2 of the new spell