nsyslog
Version:
Modular new generation log agent. Reads, transform, aggregate, correlate and send logs from sources to destinations
43 lines (39 loc) • 722 B
JSON
{
"config" : {
"datadir" : "/tmp/nsyslog",
"input" : {"maxPending" : 1000},
"buffer" : {"maxPending": 1000},
"processor" : {"maxPending": 1000},
"transporter" : {"maxPending": 1000}
},
"inputs" : {
"redis" : {
"type" : "redis",
"config" : {
"url" : "redis://localhost",
"channels" : ["*"],
"format" : "raw"
}
}
},
"transporters" : {
"console" : {
"type" : "console",
"config" : {
"format" : "${JSON}"
}
},
"syslog" : {
"type" : "syslog",
"config" : {
"url" : "udp://localhost:514"
}
},
"null" : {
"type" : "null"
}
},
"flows" : [
{"from":"${input}=='redis'", "transporters":["console"]}
]
}