Skip to content
/ ftail Public

ftail (custom tail command for Fluentd File output plugin)

Notifications You must be signed in to change notification settings

u-ichi/ftail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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}
----------------------------------------------------------------------------------------------------------------------------------------

About

ftail (custom tail command for Fluentd File output plugin)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages