镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content
chunpuPublic

About

node syslog server

Resources

Stars

16 stars

Watchers

2 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

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

16 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages