Logtool

Jul 20, 2023

Parse ASCII logfiles into ANSI, CSV, HTML formats

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.



Checkout these related ports:
  • Zxfer - Easily and reliably transfer ZFS filesystems
  • Ztop - Display ZFS dataset I/O in real time
  • Zsm - ZFS Snapshot Manager
  • Zsd - Destroys ZFS snapshots
  • Zrepl - ZFS dataset replication tool
  • Zrep - ZFS based replication and failover solution
  • Zpool-iostat-viz - ZFS pool I/O latency statistics
  • Zoxide - Fast cd alternative that learns your habits
  • Zogftw - Creates redundant backups on encrypted ZFS pools
  • Znapzend - ZFS-centric backup tool
  • Zisofs-tools - User utilities for zisofs
  • Zidrav - File corruption detection and repair program
  • Zfstools - OpenSolaris-compatible auto snapshotting for ZFS
  • Zfsnap2 - Portable performant script to make rolling ZFS snapshots easy
  • Zfsnap - Simple sh script to make zfs rolling snaphosts with cron