Skip to content

masonicboom/tailfeather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

After

Tailfeather is a command line tool that pretty-prints log files, and other delimited text files.

It colors repeated values within each field consistently (recycling colors as needed). When tailing live logs, this helps you see patterns and anomalies.

Screenshots

Before

Before

After

After

System Requirements

Should build on any system with Go.

Dependencies

https://github.com/daviddengcn/go-colortext

Building

Install dependencies (see go get documentation), then run make.

Usage

Usage of ./tlft:
  -input-delimiter=" ": Input field delimiter.
  -output-delimiter="\t": Output field delimiter.

Pass input in via STDIN.

For example, if you have a comma-delimited logfile named LOGFILE.log, that you want to continuously follow, printing with fields tab-delimited, do: tail -f LOGFILE.log | ./tlft --input-delimiter "," --output-delimiter "\t".

Credits

Example log data from http://ita.ee.lbl.gov/html/contrib/NASA-HTTP.html.

About

Pretty-printing for log files

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors