Skip to content

chunpu/syslogd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syslogd

NPM version build status

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

About

node syslog server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published