Splunk Kvstore Admin Setupのロゴ

Splunk Kvstore Admin Setup

コミュニティ
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.

概要

公開者chambear2809
リポジトリsplunk-cisco-skills
スキル名splunk-kvstore-admin-setup
スター
40
フォーク
7
同梱ファイル
6
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 6個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    chambear2809がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSplunk Kvstore Admin SetupをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-kvstore-admin-setup
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでSplunk Kvstore Admin Setupを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSplunk Kvstore Admin Setupを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Splunk Kvstore Admin Setupは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

TypingMindでSplunk Kvstore Admin Setupを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Splunk Kvstore Admin Setupはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSplunk Kvstore Admin Setupをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-kvstore-admin-setupを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Splunk Kvstore Admin Setupを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Splunk Kvstore Admin Setupは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSplunk Kvstore Admin Setupを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Splunk Kvstore Admin Setup」は無料ですか?

はい。chambear2809がGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇