UNPKG

nsyslog

Version:

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

47 lines (41 loc) 753 B
{ "config" : { "datadir" : "/tmp/nsyslog", "input" : {"buffer" : 100} }, "inputs" : { "lines" : { "type" : "file", "config" : { "path" : "/var/log/apache.log", "watch" : true, "readmode" : "watermark", "offset" : "end", "options": { "usePolling": true, "interval": 100 } } } }, "processors" : {}, "transporters" : { "console" : { "type" : "console", "config" : { "format" : "${originalMessage}", "json" : { "format" : true, "spaces" : 2, "color" : true } } }, "null" : { "type" : "null" } }, "flows" : [ {"id":"flow1", "from":"lines", "fork":false, "processors":[], "transporters":"null"} ] }