A stream to send JS objects to a Graylog2 server (in GELF format)
Also provides a stream that can be used directly in Bunyan and provides a number of sane mappings.
var split =bunyan =gelfStream =// gelf-stream comes with Bunyan supportvar stream = gelfStreamvar log = bunyanlog // will be sent to the Graylog2 server on localhostlog // will extract file/line numbers toostream // Bunyan doesn't currently end the stream when the program has finished// Or you can use it to stream any sort of object/stringprocessstdin// split into linesprocessstdin
With npm do:
npm install gelf-stream