From 0b0b6840ecc6aced07d4620cf5460e6b2c6496d6 Mon Sep 17 00:00:00 2001 From: Bill Grant Date: Wed, 14 Aug 2024 17:30:44 -0400 Subject: [PATCH 1/3] demo in a box instructions --- content/en/resources/local-hosting/diab.md | 31 ++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 content/en/resources/local-hosting/diab.md diff --git a/content/en/resources/local-hosting/diab.md b/content/en/resources/local-hosting/diab.md new file mode 100644 index 0000000000..e46144976f --- /dev/null +++ b/content/en/resources/local-hosting/diab.md @@ -0,0 +1,31 @@ +--- +title: Running Demo-in-a-Box +weight: 3 +description: Learn how to use Demo-in-a-Box to manage demos and otel collectors in an easy-to-use web interface +--- + +**Demo-in-a-box** is a method for running demo apps easily using a web interface. + +It provides: +* A quick way to deploy demo apps and states +* A way to easily change configuration of your otel collector and see logs +* Get pod status, pod logs, etc. + +To leverage this locally using multipass: +* Follow the [local hosting for multipass](../multipass) instructions + * In the `terraform.tfvars` file, set `splunk_diab` to `true` + * Set the required items + * `splunk_access_token` + * `splunk_api_token` + * `splunk_realm` + * Set other important settings + * `splunk_rum_token` + * `splunk_hec_url` + * `splunk_hec_token` + * Then run the terraform steps +* Once the instance is up, navigate in your browser to: `http://:8083` + * If the instance isn't up or has errors you can try changing the `wsversion` from a version number to `main` + * This will pull the latest development version + * You can also try an older version number + * After making the change, run `terraform apply` to make the changes +* Now you can deploy any of the demos; this will also deploy the collector \ No newline at end of file From 28d739851aa9654b56b420ce059088c6030ea100 Mon Sep 17 00:00:00 2001 From: Bill Grant Date: Wed, 14 Aug 2024 17:47:49 -0400 Subject: [PATCH 2/3] update --- content/en/resources/local-hosting/diab.md | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/content/en/resources/local-hosting/diab.md b/content/en/resources/local-hosting/diab.md index e46144976f..d05325bbb2 100644 --- a/content/en/resources/local-hosting/diab.md +++ b/content/en/resources/local-hosting/diab.md @@ -14,14 +14,7 @@ It provides: To leverage this locally using multipass: * Follow the [local hosting for multipass](../multipass) instructions * In the `terraform.tfvars` file, set `splunk_diab` to `true` - * Set the required items - * `splunk_access_token` - * `splunk_api_token` - * `splunk_realm` - * Set other important settings - * `splunk_rum_token` - * `splunk_hec_url` - * `splunk_hec_token` + * Then set the other required and important tokens/url * Then run the terraform steps * Once the instance is up, navigate in your browser to: `http://:8083` * If the instance isn't up or has errors you can try changing the `wsversion` from a version number to `main` From 3b765e9850cfc31b27d1b3d4e8f8e2218b84fd71 Mon Sep 17 00:00:00 2001 From: Robert Castley Date: Wed, 14 Aug 2024 23:10:05 +0100 Subject: [PATCH 3/3] Update diab.md --- content/en/resources/local-hosting/diab.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/resources/local-hosting/diab.md b/content/en/resources/local-hosting/diab.md index d05325bbb2..5f1162736c 100644 --- a/content/en/resources/local-hosting/diab.md +++ b/content/en/resources/local-hosting/diab.md @@ -1,7 +1,7 @@ --- title: Running Demo-in-a-Box weight: 3 -description: Learn how to use Demo-in-a-Box to manage demos and otel collectors in an easy-to-use web interface +description: Learn how to use Demo-in-a-Box to manage demos and otel collectors in an easy-to-use web interface. --- **Demo-in-a-box** is a method for running demo apps easily using a web interface. @@ -13,12 +13,12 @@ It provides: To leverage this locally using multipass: * Follow the [local hosting for multipass](../multipass) instructions - * In the `terraform.tfvars` file, set `splunk_diab` to `true` + * In the `terraform.tfvars` file, set `splunk_diab` to `true` and make sure **all** other options are set to `false` * Then set the other required and important tokens/url * Then run the terraform steps * Once the instance is up, navigate in your browser to: `http://:8083` - * If the instance isn't up or has errors you can try changing the `wsversion` from a version number to `main` - * This will pull the latest development version - * You can also try an older version number + * In the `terraform.tfvars` file the `wsversion` defaults to the current version of the workshop e.g `4.64`: + * To use the latest developments change `wsversion` to use `main` + * There are only three versions of the workshop maintained, development (`main`) current (e.g. `4.64` and the previous (e.g. `4.63`) * After making the change, run `terraform apply` to make the changes -* Now you can deploy any of the demos; this will also deploy the collector \ No newline at end of file +* Now you can deploy any of the demos; this will also deploy the collector as part of the deployment