jlog allows parsing and easier consumption of JSON serialized log entries.
jlog understands the following command line arguments:
-n
Number of lines to tail from a file
-f
Watch file for additional output
-B
Force color output (defaults to TTY based behavior)
-b
Disable color output (default to TTY based behavior)
If you wish to inspect jlog and build it by yourself, you may do so by cloning this repository and peforming the following steps :
mkdir -p $(GOPATH)/src
cd $(GOPATH)/src && git clone https://github.com/pyr/jlog
make
It uses godep, so it should be easy.
dep status
dep ensure -update
jlog -f /var/log/some.json.log