{
	"config" : {
		"datadir" : "/tmp/nsyslog2",
		"input" : {"maxPending" : 1000},
		"buffer" : {"maxPending": 1000},
		"processor" : {"maxPending": 1000},
		"transporter" : {"maxPending": 1000}
	},

	"inputs" : {
		"file" : {
			"type" : "file",
			"config" : {
				"path" : "/var/log/**/*.log",
				"watch" : true,
				"readmode" : "offset",
				"offset" : "start"
			}
		}
	},

	"processors" : {
		"csv" : {
			"type" : "csvout",
			"config" : {
				"output" : "csv",
				"fields" : [
					"${type}",
					"${seq}",
					"${ln}",
					"${path}",
					"${filename}"
				],
				"options" : {
				}
			}
		}
	},

	"transporters" : {
		"log" : {
			"type" : "console",
			"config" : {"format" : "${JSON}", "level" : "log"}
		},
		"file" : {
			"type" : "file",
			"config" : {
				"path" : "/var/logout${path}"
			}
		},
		"null" : {
			"type" : "null"
		}
	},

	"flows" : [
		{"from":"*", "processors":["csv"], "transporters":["log"]}
	]
}
