nsyslog
Version:
Modular new generation log agent. Reads, transform, aggregate, correlate and send logs from sources to destinations
40 lines (35 loc) • 606 B
JSON
{
"config" : {
"datadir" : "/tmp/nsyslog",
"input" : {"buffer" : 100}
},
"register" : [
{"type":"input","id":"debug","require":"custom/debug-input.js"}
],
"inputs" : {
"debug" : {
"type" : "debug",
"config" : {
}
}
},
"transporters" : {
"console" : {
"type" : "console",
"config" : {
"format" : "${JSON}"
}
},
"kafka" : {
"type" : "kafka",
"config" : {
"url" : "kafka://localhost:9092",
"topic" : "nsyslog",
"mode": "roundrobin",
}
}
},
"flows" : [
{"from":"*", "transporters":"kafka"}
]
}