BSD Ports

sysutils/logtool 1.3.1_2 DragonFly

Parse ASCII logfiles into ANSI, CSV, HTML formats

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv2
Categories
sysutils
Package size
35.4 KiB, 88.8 KiB installed

Description

Logtool is a command line program that will parse ASCII logfiles into a more palatable format. It will take anything resembling a standard syslog file (this includes syslog-ng, multilog, and probably most of the other variantse), 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 suppressing duplicate messages, stripping the host, and/or program fields, and modifying the time display format (supports TAI64 timestamps produced by DJB's multilog) of the log entries.

In the other systems

SystemPortVersion
DragonFlysysutils/logtool1.3.1_2
FreeBSDsysutils/logtool1.3.1_2

Install

Binary package:

pkg install logtool

From DPorts:

cd /usr/dports/sysutils/logtool && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

Sample configuration files are installed in

 	/usr/local/share/examples/logtool

 Please copy them to /usr/local/etc/logtool and edit to suit your needs.