Logo di Splunk Kvstore Admin Setup

Splunk Kvstore Admin Setup

Community
chambear2809
splunk-kvstore-admin-setup

Use when the user asks to back up or restore the KV Store, migrate the KV Store storage engine, upgrade the KV Store server version, reset or clean the KV Store, define a KV Store collection or lookup, or recover KV Store on an SHC. Render, validate, and apply Splunk App Key Value Store administration: backup and restore (point-in-time), clean/reset, storage-engine migration to WiredTiger, KV Store server-version upgrade (7.0/8.0), maintenance mode, collections.conf and KV Store lookup-definition governance, and standalone vs search head cluster paths.

Panoramica

Autorechambear2809
Repositorysplunk-cisco-skills
Nome della skillsplunk-kvstore-admin-setup
Stelle
40
Fork
7
File inclusi
6
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • 6 file inclusi

    Script, modelli di documento e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da chambear2809 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Splunk Kvstore Admin Setup in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-kvstore-admin-setup
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

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/splunk-kvstore-admin-setup .claude/skills/splunk-kvstore-admin-setup
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Splunk Kvstore Admin Setup in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Splunk Kvstore Admin Setup non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Splunk Kvstore Admin Setup non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Splunk KV Store Admin Setup

Enterprise 10.6 migration gate

Enterprise 10.6 automatically migrates the supported MongoDB-backed KV Store to a cohosted PostgreSQL storage sidecar after upgrade. Require KV Store server 7.0 or higher, more than 50% free space on the KV Store data filesystem, authenticated healthy splunk show kvstore-status, a parallel backup with restore evidence, and a maintenance window that allows read-only operation. During migration, writes, backups/restores, resync, and KV Store restarts are unavailable. ITSI 5.0.x requires postponing the PostgreSQL migration even though ITSI 5.0.2 is listed as compatible with Enterprise 10.6. For the documented Enterprise 10.4-to-10.6 deferred path, explicitly render server.conf with --defer-postgres-migration true, review and distribute it before upgrading, then verify the effective setting and migrationStatus : NotStarted after upgrade. This flag differs from kvstoreUpgradeOnStartupEnabled, which controls the KV Store server-version upgrade. Keep the ordinary backup, restore-test, health, topology, and disk-readiness gates. Do not report cohosted PostgreSQL migration complete; schedule it after all installed apps support it. Completion of an actual migration requires migrationStatus : Migration_Succeeded, KV Store status : ready, and cohosted-store status : ready. Treat unauthenticated or inaccessible status as an unverified gate.

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

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

When to Activate

  • Back up or restore the KV Store, migrate the KV Store storage engine, upgrade the KV Store server version, reset or clean the KV Store, define a KV Store collection or lookup, or recover KV Store on an SHC.
  • Preview and review the splunk kvstore admin 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
bash skills/splunk-kvstore-admin-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
bash skills/splunk-kvstore-admin-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

This skill renders and applies Splunk App Key Value Store (KV Store) administration assets. It is render-first because backup, restore, clean, migrate, and upgrade operations change durable state; review the rendered host scripts before applying.

Agent Behavior

Never ask for the Splunk admin password in chat. Lifecycle operations run as the splunk user on the host after splunk login; collection governance uses the project credentials file via the shared helper. Restore and clean are destructive and refuse to run without their acceptance flag.

--platform auto|cloud|enterprise defaults to auto and is resolved before every apply/all, preflight, or status phase. Managed Splunk Cloud is a hard handoff for backup, restore, clean, migrate, upgrade, maintenance, and host status: the wrapper exits 2 before rendering or executing host assets. Cloud-rendered host scripts independently exit 2 before invoking the CLI. The only Cloud mutation supported here is collection and lookup definition governance through the standard Splunk REST configuration endpoints in an existing, writable app namespace supplied with --app-name.

Read reference.md before any restore, migrate, or upgrade. The default --backup-mode auto selects parallel jobs for an authenticated ready cohosted PostgreSQL store (type: Pdl) and point-in-time backup for a legacy store. Explicit point-in-time mode refuses a cohosted store rather than weakening its consistency guarantee. Backup and restore poll backupRestoreStatus to a bounded backupRestoreStatus : Ready state before reporting success.

Splunk Enterprise 10.4 guardrails

Enterprise 10.4 removes legacy MongoDB 4–6 binaries bundled with older KV Store releases. Do not upgrade directly from Splunk 9.x to 10.4; route through 10.0 or 10.2 first so KV Store reaches MongoDB 7+.

On 10.x → 10.4, MongoDB 8 is applied automatically during the Splunk upgrade. After upgrade, run status.sh or authenticated splunk show kvstore-status and confirm serverVersion reflects the expected MongoDB 8 train before collection governance or restore work.

Cloud stacks on doc trains 10.5.2605 and 10.4.2604 inherit the same KV Store behavior on the Splunk-managed side. Splunk operates that lifecycle; customers must use Splunk Support for backup/recovery or engine/version work. Enterprise operators still own the upgrade ladder on self-managed hosts.

Quick Start

Render the lifecycle assets:

bash
bash skills/splunk-kvstore-admin-setup/scripts/setup.sh --topology shc

Take a point-in-time backup live:

bash
bash skills/splunk-kvstore-admin-setup/scripts/setup.sh --platform enterprise \
  --phase apply --operation backup --backup-mode auto --backup-archive-name kvdump_2026

Restore (destructive, captain on SHC):

bash
bash skills/splunk-kvstore-admin-setup/scripts/setup.sh --platform enterprise \
  --phase apply --operation restore \
  --backup-archive-name kvdump_2026.tar.gz --accept-kvstore-restore

Define a KV Store collection + lookup definition live via REST:

bash
bash skills/splunk-kvstore-admin-setup/scripts/setup.sh --platform auto \
  --phase apply --operation collections \
  --collection-name asset_inventory --collection-fields ip:string,risk:number \
  --lookup-definition-name asset_inventory_lookup

What It Renders

  • backup.sh / restore.sh / clean.sh / migrate.sh / upgrade.sh / status.sh / preflight.sh
  • server.conf with optional [kvstore] kvstoreUpgradeOnStartupEnabled = false
  • collections.conf and transforms.conf KV Store lookup-definition templates

Operations

  • backup - authenticated status-selected splunk backup kvstore (--backup-mode auto|parallel|point-in-time|legacy)
  • restore - status-selected splunk restore kvstore (parallel restores use -restoreParallelJobs true; gated)
  • clean - splunk clean kvstore --local|--cluster (gated)
  • migrate - SHC start-shcluster-migration kvstore -storageEngine wiredTiger
  • upgrade - SHC start-shcluster-upgrade kvstore -version <v>
  • collections - write collection + lookup definition via REST

On managed Splunk Cloud, collections is the only live operation. Host lifecycle operations exit 2 with a Support handoff before any local render tree or host command is created. Cloud collection apply also verifies that --app-name identifies an existing writable namespace before mutation. Use --phase render --platform cloud to review collection/lookup templates and fail-closed host-script handoffs.

Live standalone migrate and upgrade requests fail with an upgrade-workflow handoff because those transitions occur during a supported Splunk Enterprise binary upgrade. --operation none is render-only and is rejected by apply. server.conf is a rendered coordination artifact; this skill does not install that file automatically. Collection REST apply writes replicate and every declared field.<name> type.

SHC migration defaults to --migrate-dry-run true; that successful operation does not claim that migration was applied. Actual migration requires --migrate-dry-run false --accept-kvstore-migrate, and server-version upgrade requires --accept-kvstore-upgrade. Rendered destructive scripts also require the acceptance environment set by the wrapper.

Hand SHC replication health, captain transfer, and KV Store reset coordination to splunk-search-head-cluster-setup.

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Splunk Kvstore Admin Setup?

Use when the user asks to back up or restore the KV Store, migrate the KV Store storage engine, upgrade the KV Store server version, reset or clean the KV Store, define a KV Store collection or lookup, or recover KV Store on an SHC. Render, validate, and apply Splunk App Key Value Store administration: backup and restore (point-in-time), clean/reset, storage-engine migration to WiredTiger, KV Store server-version upgrade (7.0/8.0), maintenance mode, collections.conf and KV Store lookup-definition governance, and standalone vs search head cluster paths.

Perché usare Splunk Kvstore Admin Setup su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Splunk Kvstore Admin Setup è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Splunk Kvstore Admin Setup in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-kvstore-admin-setup. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Splunk Kvstore Admin Setup?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Splunk Kvstore Admin Setup?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Splunk Kvstore Admin Setup: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Splunk Kvstore Admin Setup è gratuita?

Sì. È pubblicata su GitHub da chambear2809 con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇