Skip to content

liukun/bunyan-logstash-udp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logstash UDP stream for Bunyan

Configuration options

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

Adding the bunyan-logstash stream to Bunyan

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

About

Logstash stream for the Bunyan logger

Resources

License

Stars

Watchers

Forks

Packages

No packages published