1.1.0 • Published 10 years ago

bunyan-sub v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

bunyan-sub

A CLI tool subscribe to bunyan-hub(https://undozen.github.io/bunyan-hub for log record events.

install

npm i -g bunyan-sub

usage

bunyansub -l level -H -t timestamp
  • -l/--level trace|debug|info|warn|error|fatal as bunyan levels, defaults to trace
  • -H/--history if provided, reads history from bunyan-hub, which will keep last 1000 records for each level
  • -t/--time timestamp if reads history, this param provide starting time
  • -p/--port change listening port instead of using default 28692
  • --host change host to connect instead of localhost, it's not safe to expose 28692 to public since bunyan-hub have no authorization layer. You could better use ssh -L to forward remote to local and use bunyansub -p.

Other parameters will send to bunyan cli, for example -s or -c, please refer to bunyan doc on cli usage. If -s not provided, will output new-line determined JSONs.

license

MIT

1.1.0

10 years ago

1.0.0

10 years ago

0.3.0

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago