UNPKG

nsyslog

Version:

Modular new generation log agent. Reads, transform, aggregate, correlate and send logs from sources to destinations

38 lines (33 loc) 586 B
{ "config" : { "datadir" : "/tmp/nsyslog", "input" : {"buffer" : 100} }, "inputs" : { "lines" : { "type" : "file", "config" : { "watch" : true, "path" : "/var/log/**/*", "readmode" : "watermark", "offset" : "end" } } }, "processors" : { }, "transporters" : { "console" : { "type" : "console", "config" : { "format" : "${path} - ${ln}" } }, "null" : { "type" : "null" } }, "flows" : [ {"id":"flow1", "from":"lines", "fork":false, "processors":[], "transporters":"console"} ] }