Splunk observability mobile rum setup

From chambear2809/splunk-cisco-skills · View interactive version

Splunk observability mobile rum setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when instrumenting mobile apps with Splunk RUM, preparing Mobile Session Replay, preparing mobile- side Digital Experience Analytics (DXA), validating RUM-to-APM linking, or rendering mobile source patches. Do not use for AppDynamics EUM or Kubernetes Browser RUM injection. Render, validate, and

How to use this skill

Skill file

Splunk Observability Mobile RUM

Prerequisites

| Tool or access | Purpose | Verify |

|---|---|---|

| Bash and Python 3 | Run bundled setup and validation helpers | bash --version && python3 --version |

| Required product/platform access | Inspect or configure the selected target | Complete the documented preflight |

| Credential files for live modes | Keep secrets out of chat | Verify paths only |

Workflow Overview

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

When to Activate

Experience Analytics (DXA), validating RUM-to-APM linking, or rendering mobile source patches. Do not use for

AppDynamics EUM or.

Examples

Inspect the supported setup modes before selecting one:

bash skills/splunk-observability-mobile-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-mobile-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

| Issue | Cause | Resolution |

|---|---|---|

| Preflight fails | A required tool or access path is missing | Resolve it before rendering or applying |

| Rendered assets are incomplete | Required non-secret inputs are absent | Complete intake and render again |

| Apply is blocked | Review, credentials, or explicit acceptance is missing | Use the documented handoff |

| Validation is incomplete | Live evidence is unavailable | Record the gap and keep completion open |

This skill configures Splunk Observability Cloud Mobile RUM, separate from

Kubernetes Browser RUM injection and AppDynamics EUM. It is render-first:

snippets and runbooks are the default output; patch files are optional; app

source is changed only when --apply-patches --accept-mobile-rum-source-edit

is explicitly used. Use it as the mobile instrumentation handoff when a Digital

Experience Analytics (DXA) request needs supported iOS or Android RUM agents,

user tracking, readable stack traces, or Mobile Session Replay.

Scope

desugaring, network/crash/ANR/slow-rendering/interaction/lifecycle modules,

mapping upload, and WebView bridge snippets.

builds, with native-side dSYM/mapping handoffs.

dSYM/mapping handoffs, route/manual instrumentation, and WebView handoff.

Server-Timing: traceparent;desc="00-<32 hex>-<16 hex>-01".

Version Pins

Every default below was verified against its upstream registry on 2026-08-20 and

is the current release on that date. No pin is knowingly behind upstream.

| Component | Default |

| --- | --- |

| iOS agent | 2.4.1 |

| Android agent | 2.3.3 |

| Android Gradle plugins | 2.3.3 |

| React Native agent | 1.2.0 |

| React Native Session Replay | 1.2.0 |

| Flutter agent | 1.2.0 |

| Flutter Session Replay | 1.2.0 |

Flutter agent and Flutter Session Replay must stay on the same minor line:

1.2.0 pins both platform interfaces to >=1.2.0 <1.3.0.

Deployment environment attribute rename

iOS 2.4.1 and Android 2.3.2 renamed the deployment environment resource

attribute from deployment.environment to deployment.environment.name. Both

agents emit only the new key; there is no transitional dual-emit. Dashboards,

detectors, and saved searches that filter or group mobile RUM data on the old

key go blank as soon as an app ships these pins. While a fleet straddles the

rename, accept both keys rather than switching outright.

The Swift and Kotlin configuration property is still named

deploymentEnvironment, so rendered initialization snippets are unaffected.

The renderer rejects latest, +, ranges, wildcard, and otherwise unpinned

versions unless --allow-latest-version is set.

Workflow

  1. Render snippets:

```bash

bash skills/splunk-observability-mobile-rum-setup/scripts/setup.sh \

--render \

--spec skills/splunk-observability-mobile-rum-setup/template.example

```

  1. Review splunk-observability-mobile-rum-rendered/:
  1. Optionally render source patches:

```bash

bash skills/splunk-observability-mobile-rum-setup/scripts/setup.sh \

--render-patches \

--spec mobile-rum.yaml

```

  1. Optionally apply source patches after review:

```bash

bash skills/splunk-observability-mobile-rum-setup/scripts/setup.sh \

--apply-patches \

--accept-mobile-rum-source-edit \

--spec mobile-rum.yaml

```

  1. Validate static output and optional RUM-to-APM response headers:

```bash

bash skills/splunk-observability-mobile-rum-setup/scripts/validate.sh \

--output-dir splunk-observability-mobile-rum-rendered \

--check-server-timing https://api.example.com/health

```

Safety Rules

--token, --bearer-token, --api-token, --o11y-token, --sf-token,

--hec-token, --platform-hec-token, and --api-key are rejected.

commit or render raw token values into tracked source. Use token references,

build-time config, CI secrets, or mobile platform secret delivery.

SPLUNK_O11Y_TOKEN_FILE; they do not accept token literals.

masking rules.

References

Read the platform file that matches the app being instrumented:

Hand-offs

splunk-observability-k8s-frontend-rum-setup

splunk-observability-k8s-auto-instrumentation-setup

splunk-observability-dashboard-builder

splunk-observability-native-ops

Out Of Scope

Browser source maps only apply to WebView pages instrumented with Browser RUM.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.