Local Hosting with Multipass
Install Multipass and Terraform for your operating system. On a Mac (Intel), you can also install via Homebrew e.g.
Clone workshop repository:
Change into Multipass directory:
Log Observer Connect:
If you plan to use your own Splunk Observability Cloud Suite Org and or Splunk instance, you may need to create a new Log Observer Connect connection: Follow the instructions found in the documentation for Splunk Cloud or Splunk Enterprize.
Additional requirements for running your own Log Observer Connect connection are:
- Create an index called splunk4rookies-workshop
- Make sure the Service account user used in the Log observer Connect connection has access to the splunk4rookies-workshop index (you can remove all other indexes, as all workshop log data should go to this index).
Initialize Terraform:
Create Terraform variables file. Variables are kept in file terrform.tfvars and a template is provided, terraform.tfvars.template, to copy and edit:
The following Terraform variables are required:
swipe_id: SWiPE ID for the instancesplunk_index: Splunk Index to send logs to. Defaults tosplunk4rookies-workshop.
Instance type variables:
splunk_presetup: Provide a preconfigured instance (OTel Collector and Online Boutique deployed with RUM enabled). The default isfalse.splunk_diab: Install and run Demo-in-a-Box. The default isfalse.tagging_workshop: Install and configure the Tagging Workshop. The default isfalse.otel_demo: Install and configure the OpenTelemetry Astronomy Shop Demo. This requires thatsplunk_presetupis set tofalse. The default isfalse.
Optional advanced variables:
wsversion: Set this tomainif working on the development of the workshop, otherwise this can be omitted.architecture: Set this to the correct architecture,arm64oramd64. Defaults toarm64which is appropriate for Apple Silicon.
Run terraform plan to check that all configuration is OK. Once happy run terraform apply to create the instance.
Once the instance has been successfully created (this can take several minutes), exec into it using the name from the output above. The password for Multipass instance is Splunk123!.
Validate the instance:
To delete the instance, first make sure you have exited from instance and then run the following command: