nsyslog
Version:
Modular new generation log agent. Reads, transform, aggregate, correlate and send logs from sources to destinations
47 lines (42 loc) • 852 B
JSON
{
"config" : {
"datadir" : "/tmp/nsyslog",
"input" : {"buffer" : 100}
},
"inputs" : {
"lines" : {
"type" : "file",
"config" : {
"path" : "C:\\ica\\data\\logroot\\${DATE:YYYY-MM-DD_mm}\\*.log",
"_path" : "C:\\ica\\data\\logroot\\*.log",
"watch" : true,
"readmode" : "watermark",
"offset" : "start",
"options": {
"usePolling": false,
"interval": 100
}
}
}
},
"processors" : {},
"transporters" : {
"console" : {
"type" : "console",
"config" : {
"format" : "${filename} - ${originalMessage}",
"json" : {
"format" : true,
"spaces" : 2,
"color" : true
}
}
},
"null" : {
"type" : "null"
}
},
"flows" : [
{"id":"flow1", "from":"lines", "fork":false, "processors":[], "transporters":"console"}
]
}