Splunk ai assistant setup

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

Splunk ai assistant setup is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks about splunk-ai-assistant, Splunk AI Assistant, Splunk AI Assistant for SPL, AI Assistant for SPL, or the `Splunk_AI_Assistant_Cloud` app. Install, validate, and help complete Splunk AI Assistant (`Splunk_AI_Assistant_Cloud`) setup on Splunk Cloud or Splunk Enterprise. Handles

How to use this skill

Skill file

Splunk AI Assistant 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

Splunk_AI_Assistant_Cloud app.

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-ai-assistant-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-ai-assistant-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 |

Shared add-on completion gate

Whenever this workflow installs, configures, or hands off a registry-listed

Splunk app or add-on, follow the

shared completion gate. Package delivery

alone is not success; capture applicable configuration, data/readiness, and

shipped-view evidence, or explicit package evidence that no dashboards ship.

Automates installation, validation, and Enterprise setup assistance for

Splunk AI Assistant (Splunk_AI_Assistant_Cloud). The product was formerly

branded Splunk AI Assistant for SPL; keep accepting that name in user

requests and docs lookups while Splunk finishes the rename.

What This Skill Covers

This skill handles three operator tasks:

  1. Install or update the app from Splunkbase with the shared installer
  2. Validate that the app is present, reachable, and in a usable setup state
  3. Drive the Enterprise cloud-connected onboarding, activation, and proxy flow

The install path is intentionally thin. It delegates package delivery to

splunk-app-install and only adds the product-specific rules that matter for

this app.

Package Model

current public release and advertises Splunk 10.5 support

release API, so it can no longer be fetched from Splunkbase at all

no review override

Agent Mode requires Splunk platform 10.1+.

Package inspection of 2.2.0 confirms the collection and REST surface this

skill drives is unchanged from 2.0.0: the same five saia_* modular inputs

(saia_field_summary, saia_knowledge_object_summary, saia_macros_dms_modinput,

saia_async_jobs, saia_mdc_federated_datasets) with the same disabled-by-default

posture, and the same onboarding and validation handlers (/submitonboardingform,

/completeonboarding, /version, /cloudconnectedproxysettings). Feature-level

statements about Agent Mode, FedRAMP, Context, and Model Runtime were reviewed

against 2.0.0 documentation; re-read the 2.2.0 release notes before relying on

version-specific feature behavior.

For Splunk Cloud, the shared installer uses ACS Splunkbase install behavior.

For Splunk Enterprise, the shared installer downloads from Splunkbase and

installs through the management API.

Agent Behavior — Credentials

The agent must NEVER ask for passwords, tokens, or other secrets in chat.

Splunk and Splunkbase credentials are read automatically from the project-root

credentials file (falls back to ~/.splunk/credentials). If neither exists,

guide the user to create it:

bash skills/shared/scripts/setup_credentials.sh

The agent may ask only for non-secret values such as:

Activation codes and proxy passwords must come from local files, not from chat.

Environment

| Item | Value |

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

| Search-tier API | SPLUNK_SEARCH_API_URI env var (legacy alias: SPLUNK_URI) |

| Cloud stack | SPLUNK_CLOUD_STACK for Splunk Cloud installs |

| App name | Splunk_AI_Assistant_Cloud |

| Splunkbase ID | 7245 |

| Credentials | Project-root credentials file (falls back to ~/.splunk/credentials) |

| Skill scripts | skills/splunk-ai-assistant-setup/scripts/ |

Remote Splunk Connection

export SPLUNK_SEARCH_API_URI="https://splunk-host:8089"

Setup Workflow

Step 1: Install Or Update The App

bash skills/splunk-ai-assistant-setup/scripts/setup.sh --install

To pin a specific release:

bash skills/splunk-ai-assistant-setup/scripts/setup.sh \
  --install \
  --app-version X.Y.Z

When no flags are passed, the setup script performs install plus validation.

Step 2: Complete Platform-Specific Onboarding

Splunk Cloud

private upload of a downloaded archive.

AWS/Azure stacks and supported regions.

in the FedRAMP edition, data for training/fine-tuning defaults off, and Model

Runtime is fixed to Splunk-hosted models.

regions, renames Personalization to Context, and turns Model Runtime on by

default for new installs and upgrades.

so the skill treats it as a first-class handoff instead of a hidden setup

step. Render the handoff plan with:

python3 skills/splunk-ai-assistant-setup/scripts/cloud_onboarding_plan.py \
  --platform cloud \
  --stack my-stack

validation checks, and the manual Cloud onboarding gates to complete in

Splunk Web or a Splunk Support / Cloud App Request.

Splunk Enterprise (cloud connected)

so no release override is needed. The Enterprise 9.3+ compatibility

statement comes from the Splunkbase listing; confirm it against the release

documentation for the exact version you install.

bash skills/splunk-ai-assistant-setup/scripts/setup.sh \
  --set-proxy \
  --proxy-url https://proxy.example.com:8443
bash skills/splunk-ai-assistant-setup/scripts/setup.sh \
  --submit-onboarding-form \
  --email ops@example.com \
  --region usa \
  --company-name Example \
  --tenant-name example-prod

and the script normalizes common aliases such as us to usa

operator can see the expected pending-activation state immediately

bash skills/splunk-ai-assistant-setup/scripts/setup.sh \
  --complete-onboarding \
  --activation-code-file /tmp/saia_activation_code

configured, the shared installer can deliver through the Deployer bundle path

activation token obtained from the Splunk onboarding flow

code/token, which may not be available immediately

python3 skills/splunk-ai-assistant-setup/scripts/cloud_onboarding_plan.py \
  --platform enterprise \
  --region usa

Step 3: Validate

bash skills/splunk-ai-assistant-setup/scripts/validate.sh

Checks:

Optional automation assertions:

bash skills/splunk-ai-assistant-setup/scripts/validate.sh \
  --expect-configured true \
  --expect-onboarded true

Notes

Assistant" in the 2.0.0 documentation, but the Splunkbase ID and internal

app name remain stable.

app install and Cloud Connected state, but it cannot turn on Agent Mode.

stack, so KV Store readiness matters for validation.

/get_feature_flags endpoints for readiness checks because they can error

before onboarding is complete.

not on app-specific SHC logic in this skill.

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.