{
	"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" : {
		"event" : {
			"type" : "properties",
			"config" : {
				"extend" : false,
				"set" : {
					"sev" : 3,
					"fn" : "${path}",
					"basemsg" : "${originalMessage}"
				}
			}
		},
		"array" : {
			"type" : "array",
			"max" : 1000,
			"timeout" : 0,
			"field" : "array"
		}
	},

	"transporters" : {
		"http" : {
			"type" : "http",
			"config" : {
				"url" : "https://192.168.134.90:6083",
				"format" : "${array}",
				"tls" : {
					"key" : "server.key",
					"cert" : "server.crt"
				}
			}
		},
		"null" : {
			"type" : "null"
		}
	},

	"flows" : [
		{"from":"*", "processors":["event","array"], "transporters":"http"}
	]
}
