|
@ -275,8 +275,8 @@ cors(corsOptions), (req, res, next) => { |
|
|
console.log("mongo "+JSON.stringify(req.body)); |
|
|
console.log("mongo "+JSON.stringify(req.body)); |
|
|
console.log("LOG "+JSON.stringify(req.body[0].message)); |
|
|
console.log("LOG "+JSON.stringify(req.body[0].message)); |
|
|
console.log("PATH "+JSON.stringify(req.body[0].tailed_path)); |
|
|
console.log("PATH "+JSON.stringify(req.body[0].tailed_path)); |
|
|
var getpath = await onlogfile(req.body[0].tailed_path) |
|
|
|
|
|
for (var i = 0; i < req.body.length; i++){ |
|
|
for (var i = 0; i < req.body.length; i++){ |
|
|
|
|
|
var getpath = await onlogfile(req.body[i].tailed_path) |
|
|
var obj = req.body[i]; |
|
|
var obj = req.body[i]; |
|
|
|
|
|
|
|
|
//var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname);
|
|
|
//var indexfind = global.pipelines.findIndex(x => x.res25swarmlabname==resdata.data.res25swarmlabname);
|
|
|