Splunk Observability Browser RUM Setup

SkillWeb & browsing

"Use when the user asks for Splunk Browser RUM, JavaScript RUM, @splunk/otel-web, source maps, frontend

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Splunk Observability Browser RUM Setup skill

What this skill tells your AI

The instructions your AI receives, as published by chambear2809/splunk-cisco-skills in skills/splunk-observability-browser-rum-setup/SKILL.md and read by ahel’s review.

Prerequisites

Tool or accessPurposeVerify
Bash and Python 3Run bundled setup and validation helpersbash --version && python3 --version
Required product/platform accessInspect or configure the selected targetComplete the documented preflight
Credential files for live modesKeep secrets out of chatVerify paths only

Workflow Overview

┌───────────┐   ┌───────────────┐   ┌───────────────┐   ┌─────────────────┐
│ Preflight │ → │ Render/review │ → │ Apply/handoff │ → │ Validate evidence │
└───────────┘   └───────────────┘   └───────────────┘   └─────────────────┘

When to Activate

  • The user asks for Splunk Browser RUM, JavaScript RUM, @splunk/otel-web, source maps, frontend Session Replay, DXA prerequisites, or non-Kubernetes browser instrumentation.
  • Preview and review the splunk observability browser rum setup workflow before any live apply phase.
  • Diagnose failed prerequisites, generated assets, configuration, or validation evidence.

Scope

Follow the documented read-only or render-first path whenever it is available. This skill does not imply permission to mutate live systems. Require explicit apply flags, protected credentials, and operator review for state changes.

Examples

Inspect the supported setup modes before selecting one:

bash skills/splunk-observability-browser-rum-setup/scripts/setup.sh --help

Expected output: usage, supported modes, and required arguments are displayed without changing the target environment.

Inspect validation modes before running completion checks:

bash skills/splunk-observability-browser-rum-setup/scripts/validate.sh --help

Expected output: offline, live, and completion options are displayed when the skill supports them; help exits without mutation.

Troubleshooting

IssueCauseResolution
Preflight failsA required tool or access path is missingResolve it before rendering or applying
Rendered assets are incompleteRequired non-secret inputs are absentComplete intake and render again
Apply is blockedReview, credentials, or explicit acceptance is missingUse the documented handoff
Validation is incompleteLive evidence is unavailableRecord the gap and keep completion open

Use this skill for Browser RUM instrumentation that belongs in the web app source tree, build pipeline, CDN HTML template, or server-rendered frontend. For Kubernetes pod-side, ingress, or initContainer injection, use splunk-observability-k8s-frontend-rum-setup.

The workflow is render-first. It does not embed RUM token values. Rendered snippets reference a build-time variable or placeholder and keep the server-to-server Observability API token for source-map upload in SPLUNK_O11Y_TOKEN_FILE.

Workflow

  1. Render snippets for the framework or deployment path:
bash skills/splunk-observability-browser-rum-setup/scripts/setup.sh --render \
  --application-name checkout-web \
  --environment prod \
  --realm us1 \
  --version "${APP_VERSION:?set application version}" \
  --framework vite \
  --enable-session-replay
  1. Review browser-rum-plan.md, cdn-snippet.html, npm-init.ts, source-map-upload.sh, and csp-header.txt.

  2. Add the selected snippet to the application build or HTML template. Keep the same applicationName and version values in source-map uploads.

  3. Validate the deployed site and endpoint reachability:

bash skills/splunk-observability-browser-rum-setup/scripts/validate.sh \
  --rendered-dir splunk-observability-browser-rum-rendered \
  --check-url https://shop.example.com
  1. After reviewing the rendered helper, inject and upload source maps from a completed frontend build:
chmod 600 /path/to/o11y-token
bash skills/splunk-observability-browser-rum-setup/scripts/setup.sh \
  --upload-source-maps \
  --output-dir splunk-observability-browser-rum-rendered \
  --assets-dir /path/to/app/dist \
  --token-file /path/to/o11y-token
  1. Hand off dashboards to splunk-observability-dashboard-builder, detectors to splunk-observability-native-ops, and missing backend trace headers to the appropriate APM or auto-instrumentation skill.

Guardrails

  • Never paste RUM tokens or Observability API tokens into chat or argv.
  • Session Replay requires explicit privacy review before enablement.
  • Source maps are server-to-server uploads; use an org/API token file, not the browser-embedded RUM token.
  • --upload-source-maps requires an existing rendered helper, an existing build directory, and a token file with mode 0600 or 0400; it never accepts a token value on argv.
  • Keep CSP script-src and connect-src aligned with the selected CDN and rum-ingest.<realm>.observability.splunkcloud.com.

Signals

GitHub stars
37
Forks
8
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
splunk-observability-browser-rum-setup
Source
github.com/chambear2809/splunk-cisco-skills