BSD Ports

sysutils/logtool 1.3.1_2 FreeBSD

Parse ASCII logfiles into ANSI, CSV, HTML formats

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2
Categories
sysutils
Package size
37.8 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
FreeBSDsysutils/logtool1.3.1_2
DragonFlysysutils/logtool1.3.1_2

Install

Binary package:

pkg install logtool

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	logtool>0:sysutils/logtool

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.1_21.3.1_21.3.1_11.3.1_21.3.1_2
FreeBSD:14:quarterly1.3.1_21.3.1_2n/a1.3.1_21.3.1_2
FreeBSD:15:latest1.3.1_21.3.1_2n/a1.3.1_21.3.1_2
FreeBSD:15:quarterly1.3.1_21.3.1_2n/an/an/a
FreeBSD:16:latest1.3.1_21.3.1_2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 3

No port depends on this one.

Configuration

Options name: sysutils_logtool

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
gmake
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.

Files

Manual pages 1
  • logtool(1)
pkg-plist 28
  • bin/logtool
  • share/man/man1/logtool.1.gz
  • share/doc/logtool/CHANGES
  • share/doc/logtool/CREDITS
  • share/doc/logtool/README
  • share/doc/logtool/TODO
  • share/doc/logtool/logtool.txt
  • share/examples/logtool/scripts/README
  • share/examples/logtool/scripts/cronjob.emailreport.sh
  • share/examples/logtool/scripts/cronjob.genwebpage.sh
  • share/examples/logtool/scripts/logtool_logcheck.sh
  • share/examples/logtool/scripts/monitor.logs.sh
  • share/examples/logtool/blue
  • share/examples/logtool/brightblue
  • share/examples/logtool/brightcyan
  • share/examples/logtool/brightgreen
  • share/examples/logtool/brightmagenta
  • share/examples/logtool/brightred
  • share/examples/logtool/brightwhite
  • share/examples/logtool/brightyellow
  • share/examples/logtool/cyan
  • share/examples/logtool/exclude
  • share/examples/logtool/green
  • share/examples/logtool/include
  • share/examples/logtool/logtool.conf
  • share/examples/logtool/magenta
  • share/examples/logtool/white
  • share/examples/logtool/yellow
distinfo 1
FileSizeSHA256
logtool-1.3.1.tar.gz90012478080f5f61d848390445d8c2a125013880bb2a0644da79d034292525f8e973e
Master sites 1
  • http://xjack.org/logtool/download/

Commit history 0

No commits in the history this site was built from.