node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »


Logstash UDP stream for Bunyan

Configuration options

level string info
server string os.hostname()
host string ""
port number 9999
application string process.title
pid string
tags array|string[] ["bunyan"]

Adding the bunyan-logstash stream to Bunyan

var log = bunyan.createLogger({
  streams: [
      type: "raw",
      stream: require('bunyan-logstash').createStream({
        host: '',
        port: 5505