diff --git a/index.html b/index.html index 1bf3a10..33b8cc8 100644 --- a/index.html +++ b/index.html @@ -539,6 +539,7 @@ FPSGame(Xonotic) + LogAnalisys(ELK) MMORPG(Westward) WebServer(Nginx) Monitor(WeaveScope) diff --git a/index.js b/index.js index f386a71..b81eb77 100644 --- a/index.js +++ b/index.js @@ -2836,6 +2836,9 @@ function startApp() { } else if (selectApp.value == "Westward") { defaultRemoteCommand = "wget -O ~/setgame.sh https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/setgame.sh; chmod +x ~/setgame.sh; sudo ~/setgame.sh"; + } else if (selectApp.value == "ELK") { + defaultRemoteCommand = + "wget -O ~/startServer.sh https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/usecases/elastic-stack/startELK.sh; chmod +x ~/startServer.sh; sudo ~/startServer.sh "; } else if (selectApp.value == "WeaveScope") { defaultRemoteCommand = "wget -O ~/startServer.sh https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/usecases/weavescope/startServer.sh; chmod +x ~/startServer.sh; sudo ~/startServer.sh " + @@ -2886,6 +2889,12 @@ function stopApp() { ); cmd.push("chmod +x ~/stopServer.sh"); cmd.push("sudo ~/stopServer.sh"); + } else if (selectApp.value == "ELK") { + cmd.push( + "wget https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/usecases/elastic-stack/stopELK.sh" + ); + cmd.push("chmod +x ~/stopELK.sh"); + cmd.push("sudo ~/stopELK.sh"); } else if (selectApp.value == "Westward") { cmd.push( "wget https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/usecases/xonotic/stopServer.sh" @@ -2972,6 +2981,12 @@ function statusApp() { ); cmd.push("chmod +x ~/statusServer.sh"); cmd.push("sudo ~/statusServer.sh"); + } else if (selectApp.value == "ELK") { + cmd.push( + "wget https://raw.githubusercontent.com/cloud-barista/cb-tumblebug/main/scripts/usecases/elastic-stack/statusELK.sh -O ~/statusServer.sh" + ); + cmd.push("chmod +x ~/statusServer.sh"); + cmd.push("sudo ~/statusServer.sh"); } else { cmd.push("ls -al"); } diff --git a/package.json b/package.json index 45b107a..f7a234c 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "build": "echo 'Removing temporal cache files' && rm -rf dist/* .parcel-cache/* && mkdir -p dist/img/ && cp -r img/ dist/ && parcel build --public-url . index.html" }, "description": "MapUI Client for CB-Tumblebug (display multi-cloud infra service)", - "version": "0.7.10", + "version": "0.7.12", "repository": { "type": "git", "url": "git+https://github.com/cloud-barista/cb-mapui.git"