Splunk observability cloud integration setup

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

Splunk observability cloud integration setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when a user asks to pair Splunk Platform with Splunk Observability Cloud, set up Unified Identity or Centralized RBAC, configure the Discover app, install the Infrastructure Monitoring Add-on, configure Related Content or Log Observer Connect, bring O11y metrics into Splunk with sim, or navigate

How to use this skill

Skill file

Splunk Platform <-> Splunk Observability Cloud Integration Setup

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

configure the Discover app, install the Infrastructure Monitoring Add-on, configure Related Content or Log

Observer Connect,.

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-cloud-integration-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-cloud-integration-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 |

TA Completion Gate

For every TA/add-on or dashboard companion run, satisfy the shared

TA completion gate: configure and enable the

data ingest path owned by this skill or its required companion, validate events

or metrics in the target indexes/source types, and verify any

pre-built/package-shipped dashboards are visible, macro-aligned, and returning

data. If the package ships no dashboards, record that evidence explicitly and

hand off dashboard use to the consuming app, ES/ITSI/ARI content, or readiness

doctor.

Single skill that pairs a Splunk Cloud Platform or Splunk Enterprise stack with

Splunk Observability Cloud and configures every navigate-into-O11y surface:

Unified Identity SSO, Centralized RBAC, the in-app Discover app, Related

Content previews in Search & Reporting, Log Observer Connect, Dashboard Studio

O11y metrics, and the Splunk Infrastructure Monitoring Add-on (sim SPL

command + streaming modular inputs).

The workflow is render-first by default. Live API changes only happen when the

user explicitly asks for --apply.

Coverage Model

Every rendered section gets an explicit coverage status:

and validates referenced data where an API allows.

cross-skill workflows (e.g., Splunkbase install via splunk-app-install).

app via Splunkbase + REST.

(e.g., UID on Splunk Enterprise, Discover app on SCP < 10.1.2507).

UI-only steps (multi-org Make Default, the SE TLS-certificate paste, the

"Override default organization" user action) render as deeplink and never

claim API parity that does not exist.

Safety Rules

Splunk passwords, SIM Add-on org tokens, or Log Observer Connect

service-account passwords in conversation.

prefix.

by Unified Identity pairing and enable-centralized-rbac.

used by the Splunk Infrastructure Monitoring Add-on account.

service-account password.

with mode 600 and no more than 64 KiB. Tokens contain one printable-ASCII

value; passwords may contain printable UTF-8. Either permits at most one

trailing LF or CRLF; all other controls and Unicode line separators fail.

Authenticated

clients use O_NOFOLLOW, bounded double reads, and stable metadata/content

fingerprints; --apply aborts on any mismatch.

refuse every redirect so Basic, bearer, JWT, and O11y token headers cannot be

forwarded to a different URL.

configuration cannot relax TLS/redirect policy. Log Observer Connect converts

its password file directly from the validated descriptor into a private curl

config; the password is never loaded into a shell variable or reopened.

--api-token, --o11y-token, --admin-token, --org-token, --sf-token,

--service-account-password, and --password.

SPLUNK_O11Y_ADMIN_TOKEN_FILE, and SPLUNK_O11Y_ORG_TOKEN_FILE from the

repo credentials file when present; these store only realms and token-file

paths, never token values.

current-state.json, state/apply-state.json, and any other rendered

artifact on disk.

Support. This repo has no safe file-backed transport for the required ACS

token, so cutover is classified as handoff and always fails before mutation.

helps the user create a token file without exposing the secret in shell

history.

Primary Workflow

  1. Collect non-secret values: target (cloud or enterprise), Splunk Cloud

stack, Splunk Observability Cloud realm (us0/us1/eu0/eu1/eu2/au0/jp0/sg0/

us2-gcp), multi-org list, Log Observer Connect service-account username,

indexes the LOC service account should access, Splunk Infrastructure

Monitoring Add-on account name and modular-input picks.

  1. Create or update a JSON/YAML spec from template.example.
  2. Render and validate:

```bash

bash skills/splunk-observability-cloud-integration-setup/scripts/setup.sh \

--render \

--spec skills/splunk-observability-cloud-integration-setup/template.example \

--output-dir splunk-observability-cloud-integration-rendered

```

  1. Review splunk-observability-cloud-integration-rendered/:
  1. Apply only when explicitly requested:

```bash

bash skills/splunk-observability-cloud-integration-setup/scripts/setup.sh \

--apply \

--spec skills/splunk-observability-cloud-integration-setup/template.example \

--realm us0 \

--admin-token-file /tmp/splunk_o11y_admin_token \

--org-token-file /tmp/splunk_o11y_org_token \

--service-account-password-file /tmp/loc_svc_account_password

```

To run only a subset of sections:

```bash

bash skills/splunk-observability-cloud-integration-setup/scripts/setup.sh \

--apply pairing,sim_addon \

--spec my-integration.yaml

```

Centralized RBAC cutover is a fail-closed handoff because no safe file-backed

transport is implemented. The handoff never places a token on process argv.

End-User UX (the "easy to use" promise)

Five entry points, ordered by user effort:

scenario, then prints explicit supported apply and UI/admin handoffs. It does

not mutate live state.

state.

current-state.json. It does not currently claim a complete live snapshot.

handoff/fix list. Use --validate --live for the limited implemented

token-auth and SIM-account reachability reads.

without a section list is refused because plans can include UI/admin handoffs.

Plus quality-of-life flags:

rendered as a fix from --doctor).

(useful for change-management approvals).

os_hosts,apm` — pick from the curated SignalFlow catalog without writing

SignalFlow.

for the named realm (since no API exists).

path; supported mutations must be invoked explicitly afterward.

commands for steps that have a public reversible API; for irreversible steps

(enable-centralized-rbac, deleted users) it renders a Splunk Support

ticket template instead.

Supported Sections

Specs use api_version: splunk-observability-cloud-integration-setup/v1 and

can include:

rendering. Live stack version, trial-stack, operator-role, and Discover-app

10.1.2507+ checks remain explicit preflight handoffs.

capability check.

/adminconfig/v2/observability/sso-pairing`, or Discover-app API-token

connection. Multi-org is a fail-closed per-org-token handoff plus Make

Default deeplink; the skill never reuses one token across declared orgs.

Pairing is not a Splunk Enterprise section; Enterprise uses Log Observer

Connect separately.

o11y_admin / o11y_power / o11y_read_only / o11y_usage) and

enable-centralized-rbac; the o11y_access gate role; UID role mapping.

EXECUTE_SIGNAL_FLOW, READ_APM_DATA, READ_BASIC_UI_ACCESS, READ_EVENT

capability assignments for Real Time Metrics + previews.

in-platform Discover Splunk Observability Cloud app: Related Content

discovery, Field aliasing (Auto Field Mapping), and Automatic UI updates;

Test related content remains a deeplink. Access tokens are written only by

service-account pairing, preventing a duplicate connection. This section

also merges Read permission for selected roles.

Splunk Cloud Platform path or Splunk Enterprise TLS-certificate path.

Hands off realm-IP allowlist deltas to splunk-cloud-acs-admin-setup.

starter Dashboard Studio JSON snippet using O11y metrics.

sim_metrics index when missing, configures the SIM account through the

TA UCC custom REST handler, renders curated SignalFlow modular inputs from

the catalog (AWS_EC2, AWS_Lambda, Azure, GCP, Containers, Kubernetes,

OS_Hosts, APM_Errors, APM_Throughput, RUM, Synthetics), runs MTS sizing

preflight, and hands off the Splunk Cloud Victoria-stack search-head HEC

allowlist + the ITSI Content Pack for Splunk Observability Cloud.

Configurations sections to not_applicable and switches LOC to the SE

TLS-cert path.

For per-section flag references and REST payload shapes, read

reference.md and the focused docs under

references/.

Out of Scope (handed off, not duplicated)

splunk-observability-otel-collector-setup.

listed for Splunk 10.5. Do not install it on a new or upgraded 10.5 stack.

Use SIM Add-on streams for in-platform metrics and native Splunk

Observability Cloud Synthetics workflows for browser/API tests.

handled by splunk-observability-dashboard-builder and

splunk-observability-native-ops.

Scenarios Gallery

Six worked end-to-end examples, copy/paste-ready:

  1. Cloud quickstart (greenfield) — --quickstart renders and validates a

fresh SCP plan, then prints supported apply and Related Content handoffs.

  1. Multi-org Cloud — renders a fail-closed, distinct-token-per-org handoff

for three O11y orgs on one SCP stack; default-org selection uses a deeplink.

  1. Cloud API-token mode (no UID) — user API access-token pairing (no

admin token required); SIM Add-on plus Related Content handoff; appropriate

for stacks where UID is not yet in scope.

  1. Migrate API-token -> UID — an existing API-token customer wants Unified Identity;

renderer detects the existing connection and renders a numbered migration

plan (pair UID, validate, instruct user to delete old SA via Discover

app deeplink, optionally enable-centralized-rbac).

  1. Splunk Enterprise — --quickstart-enterprise renders SIM plus LOC

service-account/TLS assets without mutating; UID/RBAC/Discover-app sections are

marked not_applicable.

  1. Inherit existing integration — use --discover for a rendered-plan

inventory scaffold, --validate --live for limited reachability, then --doctor

to identify drift and gaps, then targeted --apply <section> to

converge to the rendered plan.

Useful Commands

Validate a draft spec:

bash skills/splunk-observability-cloud-integration-setup/scripts/setup.sh \
  --validate \
  --spec skills/splunk-observability-cloud-integration-setup/template.example

Render without applying:

bash skills/splunk-observability-cloud-integration-setup/scripts/setup.sh \
  --render \
  --spec skills/splunk-observability-cloud-integration-setup/template.example \
  --output-dir splunk-observability-cloud-integration-rendered

Diagnose an existing integration:

bash skills/splunk-observability-cloud-integration-setup/scripts/setup.sh \
  --doctor \
  --realm us0 \
  --admin-token-file /tmp/splunk_o11y_admin_token

List the curated SignalFlow modular-input catalog:

bash skills/splunk-observability-cloud-integration-setup/scripts/setup.sh \
  --list-sim-templates

Hand-offs to Other Skills

splunkbase --app-id 5247` (Splunk_TA_sim).

`skills/splunk-cloud-acs-admin-setup/scripts/setup.sh --phase render

--target-stack STACK_NAME --features search-api --search-api-subnets

<pre-baked-realm-IPs>`.

prerequisite) -> `skills/splunk-cloud-acs-admin-setup/scripts/setup.sh

--phase render --target-stack STACK_NAME --features hec`.

skills/splunk-itsi-config/SKILL.md.

queries, Synthetics, RUM ->

skills/splunk-observability-dashboard-builder/SKILL.md and

skills/splunk-observability-native-ops/SKILL.md.

skills/splunk-observability-otel-collector-setup/SKILL.md.

Compliance and Security Baseline

GovCloud and GCP regions are excluded. The skill marks UID sections

not_applicable when GovCloud or GCP is detected and renders a Service

Account fallback plan.

Account team approval; the preflight WARNs and emits a

support-tickets/cross-region-pairing.md template.

realms; the skill renders a support-tickets/fedramp-il5-readiness.md

template instead of attempting the pair call.

secret CLI flag, and redacts every token, password, JWT, and authorization

value from rendered artifacts. Non-secret pairing job IDs are retained in

mode-600 apply state so asynchronous status polling can resume safely.

MCP Tools

This skill includes checked-in, read-only Splunk MCP custom tools generated

from mcp_tools.source.yaml.

Validate or regenerate the tool artifact:

python3 skills/shared/scripts/mcp_tools.py validate skills/splunk-observability-cloud-integration-setup
python3 skills/shared/scripts/mcp_tools.py generate skills/splunk-observability-cloud-integration-setup

Load the tools into Splunk MCP Server:

bash skills/splunk-observability-cloud-integration-setup/scripts/load_mcp_tools.sh

The loader uses the supported /mcp_tools REST batch endpoint by default. Use

--allow-legacy-kv only for older MCP Server app versions that lack that

endpoint.

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.