/json_logs

A ruby tail -f for parsing and displaying json application logs

Primary LanguageRuby

JsonLogs

A ruby tail -f for parsing and dispaying JSON application logs

Installation

Clone the repository and execute bundle, then add execution rights to the rb file:

$ chmod +x tailf.rb

Usage

$ cd ~/dev/my_project
$ ~/dev/json_logs/tailf.rb 10 log/development_json.log

Customization

Just edit the tailf.rb as you wish to change diplayed JSON columns and customize the output. Play around.