bunyan-log-sort
v1.1.0
Published
Sorts bunyan formatted logs according to their `time` field. This way you can easily concat various bunyan log files and still get the result ordered. Also wraps non bunyan lines into interpolated bunyan logs and attempts to merge bunyan lines that were s
Downloads
1
Readme
bunyan-log-sort
Sorts bunyan formatted logs according to their time
field. This way you can easily concat various bunyan log files and still get the result ordered.
Also wraps non bunyan lines into interpolated bunyan logs and attempts to merge bunyan lines that were split into multiple lines (by journalctl for instance).
Installation
Using yarn
yarn global add bunyan-log-sort
Usage
option -r
reverses order (Newest last).
$ cat your.log | bunyan-sort [-r] | bunyan