bunyan-log-sort

1.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i bunyan-log-sort

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

4.65 kB

Total Files

4

Last publish

Collaborators

  • peekayy