nsyslog
Version:
Modular new generation log agent. Reads, transform, aggregate, correlate and send logs from sources to destinations
38 lines (33 loc) • 572 B
JSON
{
"config" : {
"datadir" : "/tmp/nsyslog2"
},
"inputs" : {
"http" : {
"type" : "http",
"config" : {
"url" : "https://jsonplaceholder.typicode.com/posts/${postId+1}/comments",
"options" : {
"jar" : true
},
"tls" : {
"rejectUnauthorized" : false
},
"watermark" : {"postId":0}
}
}
},
"processors" : {
},
"transporters" : {
"console" : {
"type" : "console",
"config" : {
"format" : "${JSON}"
}
}
},
"flows" : [
{"from":"http", "transporters":"console"}
]
}