syslogd
v1.1.2
Published
syslog server and parser
Downloads
750
Readme
Syslogd
nodejs syslog server, including syslog message parser
Install
npm install syslogd
Usage
var Syslogd = require('syslogd')
Syslogd(function(info) {
/*
info = {
facility: 7
, severity: 22
, tag: 'tag'
, time: Mon Dec 15 2014 10:58:44 GMT-0800 (PST)
, hostname: 'hostname'
, address: '127.0.0.1'
, family: 'IPv4'
, port: null
, size: 39
, msg: 'info'
}
*/
}).listen(514, function(err) {
console.log('start')
})
Check parser performance by npm run performance
, which will run 500000 times