Logo vun Cisco Spaces Setup

Cisco Spaces Setup

Communautéit
chambear2809
cisco-spaces-setup

Use when configuring or validating Cisco Spaces meta stream accounts, firehose inputs, and data in Splunk.

Iwwersiicht

Editeurchambear2809
Repositorysplunk-cisco-skills
Skill-Nummcisco-spaces-setup
Stären
40
Forks
7
Matgeliwwert Fichieren
6
LizenzApache-2.0
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 6 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum chambear2809 op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Cisco Spaces Setup an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/cisco-spaces-setup
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chambear2809/splunk-cisco-skills.git /tmp/splunk-cisco-skills
mkdir -p .claude/skills
cp -r /tmp/splunk-cisco-skills/skills/cisco-spaces-setup .claude/skills/cisco-spaces-setup
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Cisco Spaces Setup an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Cisco Spaces Setup automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Cisco Spaces Setup net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Cisco Spaces TA Setup Automation

Prerequisites

Tool or accessPurposeVerify
Bash, curl, and jqRun setup and REST configuration helperscommand -v bash curl jq
Splunk administrative accessCreate the index, account, and firehose inputConfirm search-tier REST access
Cisco Spaces activation tokenAuthorize the selected meta streamStore the token in a protected file

Workflow Overview

text
┌───────────┐   ┌────────────┐   ┌──────────────────┐   ┌───────────────┐
│ Preflight │ → │ Install TA │ → │ Configure stream │ → │ Validate data │
└───────────┘   └────────────┘   └──────────────────┘   └───────────────┘

When to Activate

  • Onboard a Cisco Spaces meta stream or firehose into Splunk.
  • Configure ta_cisco_spaces accounts, indexes, or modular inputs.
  • Diagnose activation, stream, source-type, or ingestion failures.

Scope

This skill configures the Splunk side of a documented Spaces stream. It does not request activation tokens in chat, change location policy, or enable an unreviewed firehose without considering event volume.

Examples

Run diagnostic checks before account creation:

bash
bash skills/cisco-spaces-setup/scripts/validate.sh

Expected output: tools, package, Splunk connectivity, and account prerequisites are reported without changing Spaces or Splunk inputs.

Run completion validation after enabling a firehose:

bash
bash skills/cisco-spaces-setup/scripts/validate.sh --completion

Expected output: account, input, index, source type, and recent event evidence report [PASS]; an idle or unauthorized stream exits nonzero.

Troubleshooting

IssueCauseResolution
Activation failsToken is expired, scoped incorrectly, or unreadableReplace the protected token file and retry
Connected but idleWrong stream/no activityVerify the selected stream
Wrong indexInput differs from planCorrect it and rerun checks
Reconnect loopNetwork is unstableInspect logs and outbound access

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.

Automates the Cisco Spaces Add-on for Splunk (ta_cisco_spaces).

Package Model

Pull from Splunkbase first (latest version), fall back to splunk-ta/. Use splunk-app-install with --source splunkbase --app-id 8485 to get the latest release. If Splunkbase is unavailable, fall back to the local package in splunk-ta/. This applies to both Splunk Cloud (ACS) and Splunk Enterprise.

After installation, use this skill to configure the meta stream, inputs, and validation over search-tier REST. Any splunk-ta/_unpacked/ tree is review-only.

Agent Behavior — Credentials

The agent must NEVER ask for passwords, API keys, or secrets in chat.

Splunk 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
bash skills/shared/scripts/setup_credentials.sh

For the Cisco Spaces activation token, instruct the user to write it to a temporary file:

bash
# User creates the file themselves (agent never sees the secret)
bash skills/shared/scripts/write_secret_file.sh /tmp/spaces_token

Then the agent passes --token-file /tmp/spaces_token to the configure script. After the stream is created, delete the temp file.

The agent may freely ask for non-secret values: stream names, regions, etc.

For prerequisite collection, use skills/cisco-spaces-setup/template.example as the intake worksheet. Copy it to template.local, fill in non-secret values there, and keep the completed file local only.

Environment

Setup and validation use the Splunk search-tier REST API and can run from any host with network access to the Splunk management port (8089). In Splunk Cloud, app installation, index creation, and restarts are handled through ACS instead of the search-tier REST endpoints.

ItemValue
Search-tier APISPLUNK_SEARCH_API_URI env var (legacy alias: SPLUNK_URI)
Cloud stackSPLUNK_CLOUD_STACK for Cloud installs (SPLUNK_PLATFORM is only an override for hybrid runs)
TA app nameta_cisco_spaces
CredentialsProject-root credentials file (falls back to ~/.splunk/credentials)
Skill scriptsskills/cisco-spaces-setup/scripts/ (relative to repo root)

Remote Splunk Connection

To run against a remote Splunk instance:

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

Splunk Authentication

Scripts read Splunk credentials from the project-root credentials file. They fall back to ~/.splunk/credentials automatically. No environment variables or command-line password arguments are needed:

bash
bash skills/cisco-spaces-setup/scripts/validate.sh

If credentials are not yet configured, run the setup script first:

bash
bash skills/shared/scripts/setup_credentials.sh

Setup Workflow

Step 1: Create Index

bash
bash skills/cisco-spaces-setup/scripts/setup.sh

Creates the cisco_spaces index and ensures the app is visible in Splunk Web. When run interactively (TTY), the script prompts to continue with stream configuration after the initial setup completes.

No sudo required when running as the splunk user. In Splunk Cloud, the setup script creates the index through ACS.

IndexPurposeMax Size
cisco_spacesAll Cisco Spaces firehose data512 GB

Step 2: Configure Meta Stream

Before running, the agent must ask the user for non-secret values:

  • Stream name (e.g., "production")
  • Region (io, eu, sg)
  • Whether to record device location updates (default: no)

For the Cisco Spaces activation token, instruct the user to write it to a temp file and pass --token-file. The agent never sees the token.

Meta streams are created via the Splunk REST API, which handles activation token encryption automatically through the TA's custom REST handlers:

bash
bash skills/cisco-spaces-setup/scripts/configure_stream.sh \
  --name "production" \
  --token-file /tmp/spaces_token \
  --region io \
  --auto-inputs \
  --index cisco_spaces

Copy/paste secret-file prep command:

bash
bash skills/shared/scripts/write_secret_file.sh /tmp/spaces_token

REST endpoint used (activation token encryption handled automatically):

  • /servicesNS/nobody/ta_cisco_spaces/ta_cisco_spaces_stream

Stream fields:

FieldRequiredDescription
--nameYesStream name / stanza identifier
--token-fileYesPath to file containing Cisco Spaces activation token
--regionYesCisco Spaces region: io, eu, or sg
--location-updatesNoRecord device location updates (default: off)
--auto-inputsNoAuto-create firehose input on stream creation
--indexNoIndex for auto-created inputs (default cisco_spaces)

Step 3: Enable Inputs (if not using auto-create)

If --auto-inputs was used in Step 2, the firehose input is created automatically. Otherwise, enable manually:

bash
bash skills/cisco-spaces-setup/scripts/setup.sh --enable-inputs \
  --stream "production" --index "cisco_spaces"
Input TypeDescription
cisco_spaces_firehoseStreaming SSE connection to Cisco Spaces Firehose API

The firehose input connects to https://partners.dnaspaces.<region>/api/partners/v1/firehose/events using SSE-style streaming. The interval field (default 300s) controls the retry wait if the connection drops.

Step 4: Restart If Required

On Splunk Enterprise, restart Splunk after new index creation. On Splunk Cloud, check acs status current-stack and only run acs restart current-stack when ACS reports restartRequired=true.

Step 5: Validate

bash
bash skills/cisco-spaces-setup/scripts/validate.sh --completion

Checks: app installation, index, stream configuration, inputs, data flow, settings.

Sourcetypes

SourcetypeContent
cisco:spaces:firehoseCisco Spaces firehose events (device presence, location updates, IoT telemetry, etc.)
cisco:spaces:firehose:healthFirehose connection and collector-health events
cisco:spaces:logAdd-on internal collector logs

Package 2.0.1 defines all three source types; 1.0.7 shipped no props.conf and therefore no health sourcetype. Validation requires primary firehose data and reports health data separately rather than claiming that every installed package must emit it.

Key Learnings / Known Issues

  1. REST API for streams: This TA uses UCC custom REST handlers — always create streams via the REST API, not by writing conf files manually. The handlers encrypt the activation token automatically.
  2. Meta stream model: Cisco Spaces uses "meta streams" as the account/connection entity. Each stream has a region, activation token, and optional location updates toggle. Firehose inputs then reference a stream by name.
  3. Streaming input: The firehose is a long-lived SSE connection, not a polling input. The interval field is only the retry delay when the connection drops.
  4. Region determines endpoint: io→dnaspaces.io, eu→dnaspaces.eu, sg→dnaspaces.sg. The API URL base is https://partners.dnaspaces.<region>.
  5. Location updates volume: Enabling device location updates (location_updates_status) significantly increases data volume. The default is off; only enable when needed.
  6. Splunkbase app ID 8485: The TA is listed on Splunkbase. Use --source splunkbase --app-id 8485 for installation. Cisco EULA license acknowledgment is required.
  7. Restart behavior differs by platform: Enterprise requires a Splunk restart after new index creation. Splunk Cloud uses ACS restart checks.
  8. No sudo needed: Scripts run fine as the splunk OS user.
  9. SHC replication: The TA ships server.conf entries for SHC conf replication of ta_cisco_spaces_settings and ta_cisco_spaces_stream.

Validation Modes

Run scripts/validate.sh for diagnostics. Use --completion (alias --strict) to require a stream stanza, enabled input, index, events, and the primary cisco:spaces:firehose sourcetype. The validator also reports the version-bound cisco:spaces:firehose:health sourcetype independently. The Cisco Spaces TA ships no dashboards; the consuming dashboard/content handoff is therefore explicit rather than inferred.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Cisco Spaces Setup?

Use when configuring or validating Cisco Spaces meta stream accounts, firehose inputs, and data in Splunk.

Firwat Cisco Spaces Setup op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Cisco Spaces Setup besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Cisco Spaces Setup an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/cisco-spaces-setup an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Cisco Spaces Setup benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Cisco Spaces Setup benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Cisco Spaces Setup domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Cisco Spaces Setup gratis?

Jo. De Skill gëtt vum chambear2809 ënner der Lizenz Apache-2.0 op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇