nsyslog
Version:
Modular new generation log agent. Reads, transform, aggregate, correlate and send logs from sources to destinations
55 lines (50 loc) • 967 B
JSON
{
"config" : {
"datadir" : "/tmp/nsyslog2",
"input" : {"maxPending" : 1000},
"buffer" : {"maxPending": 1000},
"processor" : {"maxPending": 1000},
"transporter" : {"maxPending": 1000}
},
"inputs" : {
"file" : {
"type" : "file",
"when" : {
"filter": false,
"bypass": false
},
"config" : {
"path" : "/var/log/**/*.log",
"watch" : true,
"readmode" : "offset",
"offset" : "start"
}
}
},
"processors" : {
"parser" : {
"type" : "syslogparser",
"config" : {
"cores" : 4
}
}
},
"transporters" : {
"log" : {
"type" : "console",
"config" : {"format" : "${seq} : ${ln} => ${originalMessage}", "level" : "log"}
},
"file" : {
"type" : "file",
"config" : {
"path" : "/var/logout${path}"
}
},
"null" : {
"type" : "null"
}
},
"flows" : [
{"from":"*","fork":false, "processors":[], "transporters":["null"]}
]
}