Script used to parse in ezPAARSE log.io harvested log lines in real time.
git clone https://github.com/ezpaarse-project/ezpaarse2log.io.git
cd ezpaarse2log.io
npm install
cd ezpaarse2log.io
node app.js
Default config:
var defaultConfig = {
ezpaarse: 'http://127.0.0.1:59599',
logio: {
listen: { // listen for harvested logs
host: '127.0.0.1',
port: 28777
},
broadcast: { // broadcast to logio server daemon
host: '127.0.0.1',
port: 28778
}
},
autoConnectDelay: 1000,
}
To overload config, create a config.local.js file. Example:
module.exports = {
ezpaarse: 'http://127.0.0.1:40010'
};