Project

ftail

0.0
No commit activity in last 3 years
No release in over 3 years
ftail is a custom tail command for Fluentd File output plugin
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

ftail (custom tail command for Fluentd File output plugin)

Installation

install it yourself as:

$ gem install ftail

Usage

command example:

$ ftail <filename>
$ ftail --grep [match-word] <filename>
$ ftail --grepv [invert-match-word] <filename>
$ ftail --grep [word] --grepv [word] <filename>
$ ftail <filename> --grep [word]

grep example:

$ tail /var/log/td-agent/td-agent_fileoutput.log
2013-02-22T12:37:01Z    fluent.info {"message"=>"", "date"=>2013-02-22T12:37:00Z}
2013-02-22T12:37:02Z    fluent.info {"message"=>"", "date"=>2013-02-22T12:37:01Z}

$ ftail /var/log/td-agent/td-agent_fileoutput.log
Tailing /var/log/td-agent/td-agent_fileoutput.log
2013-02-22T12:37:01Z    fluent.info
{"message"=>"",
 "date"=>2013-02-22T12:37:00Z}
----------------------------------------------------------------------------------------------------------------------------------------
2013-02-22T12:37:02Z    fluent.info
{"message"=>"",
 "date"=>2013-02-22T12:37:01Z}
----------------------------------------------------------------------------------------------------------------------------------------