|
@ -114,7 +114,7 @@ app.get("/test", cors(corsOptions), (req, res) => { |
|
|
var obj = JSON.parse(JSON.stringify(result)); |
|
|
var obj = JSON.parse(JSON.stringify(result)); |
|
|
var jsonfinal = []; |
|
|
var jsonfinal = []; |
|
|
obj.forEach((value) => { |
|
|
obj.forEach((value) => { |
|
|
if (value.log.includes("app_name")) { |
|
|
if (value.container_name == "/mongo") { |
|
|
jsonfinal.push(JSON.parse(value.log)); |
|
|
jsonfinal.push(JSON.parse(value.log)); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|