diff --git a/swarmlab-app/src/run/app.js b/swarmlab-app/src/run/app.js index 6f1125b3..793dae98 100644 --- a/swarmlab-app/src/run/app.js +++ b/swarmlab-app/src/run/app.js @@ -114,7 +114,7 @@ app.get("/test", cors(corsOptions), (req, res) => { var obj = JSON.parse(JSON.stringify(result)); var jsonfinal = []; obj.forEach((value) => { - if (value.log.includes("app_name")) { + if (value.container_name == "/mongo") { jsonfinal.push(JSON.parse(value.log)); } });