Logo von Splunk Deployment Server Setup

Splunk Deployment Server Setup

Community
chambear2809
splunk-deployment-server-setup

Use when the user asks to bootstrap a deployment server, tune Universal Forwarder phoneHome intervals, inspect enrolled clients, set up DS high availability, migrate clients to a new DS, scale to 5000+ forwarders, or diagnose DS runtime health. Hand off serverclass.conf and deploymentclient.conf authoring to splunk-agent-management-setup. Render, preflight, bootstrap, validate, and operate the Splunk Enterprise Deployment Server runtime: enable-deploy-server bootstrap, deployment-app layout checks, phoneHome tuning, REST inspection, large-fleet HA pairing, client re-enrollment, staged rollout, Splunk 9.4.3+ filterType handling, and failure-mode runbooks for 503 floods, app drift, and unenrolled clients.

Übersicht

Herausgeberchambear2809
Repositorysplunk-cisco-skills
Skill-Namesplunk-deployment-server-setup
Sterne
40
Forks
7
Mitgelieferte Dateien
7
LizenzApache-2.0
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • 7 mitgelieferte Dateien

    Skripte, Vorlagen und Referenzmaterial, die das Modell bei der Arbeit lesen kann. Die Dateien sind schreibgeschützt und werden niemals ausgeführt.

  • Open Source

    Von chambear2809 auf GitHub veröffentlicht. Prüfen Sie den Quellinhalt vor der Installation.

Installation

Installieren Sie den KI-Skill Splunk Deployment Server Setup in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner — liest SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-deployment-server-setup
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill anlegen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format lesen kann, kann diesen Skill nutzen — kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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-deployment-server-setup .claude/skills/splunk-deployment-server-setup
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Splunk Deployment Server Setup in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Splunk Deployment Server Setup automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Splunk Deployment Server Setup nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Keys.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Splunk Deployment Server Setup

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

  • Bootstrap a deployment server, tune Universal Forwarder phoneHome intervals, inspect enrolled clients, set up DS high availability, migrate clients to a new DS, scale to 5000+ forwarders, or diagnose DS runtime health. Hand off.
  • Preview and review the splunk deployment server 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-deployment-server-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-deployment-server-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 owns the Deployment Server runtime: bootstrap, performance tuning, REST inspection, HA pairing, and client migration. splunk-agent-management-setup continues to own serverclass.conf authoring and deploymentclient.conf rendering. The two skills compose — run splunk-agent-management-setup to define server classes and apps, then use this skill for DS runtime health.

Agent Behavior — Credentials

Never ask for secrets in chat.

  • DS admin credentials live in the project-root credentials file (chmod 600) or ~/.splunk/credentials. The shared library loads them automatically.
  • If credentials are not yet configured:
    bash
    bash skills/shared/scripts/setup_credentials.sh
  • Never pass SPLUNK_PASS as an env-var prefix or command-line argument.
  • Management REST requires https://. SPLUNK_VERIFY_SSL=false still uses encrypted HTTPS and does not permit plaintext. Only an isolated, short-lived lab may explicitly set SPLUNK_ALLOW_INSECURE_HTTP=true; the renderer and every live call warn when that override is active.

Quick Start

Bootstrap the DS role on a running Splunk Enterprise host:

bash
bash skills/splunk-deployment-server-setup/scripts/setup.sh \
  --phase render \
  --ds-host ds01.example.com \
  --ds-uri https://ds01.example.com:8089 \
  --splunk-home /opt/splunk

Apply the bootstrap (runs splunk enable deploy-server on the target host):

bash
bash skills/splunk-deployment-server-setup/scripts/setup.sh \
  --phase bootstrap \
  --ds-host ds01.example.com \
  --admin-password-file /tmp/splunk_admin_password

Reload serverclass.conf without restarting:

bash
bash skills/splunk-deployment-server-setup/scripts/setup.sh \
  --phase reload \
  --ds-uri https://ds01.example.com:8089 \
  --admin-password-file /tmp/splunk_admin_password

Inspect enrolled clients and flag drift:

bash
bash skills/splunk-deployment-server-setup/scripts/setup.sh \
  --phase inspect \
  --ds-uri https://ds01.example.com:8089 \
  --admin-password-file /tmp/splunk_admin_password

Render an HA pair configuration:

bash
bash skills/splunk-deployment-server-setup/scripts/setup.sh \
  --phase render \
  --ds-host ds01.example.com \
  --ha-pair \
  --ds-secondary-host ds02.example.com \
  --lb-uri ds-lb.example.com:8089

Migrate all clients to a new DS:

bash
bash skills/splunk-deployment-server-setup/scripts/setup.sh \
  --phase migrate-clients \
  --ds-uri https://ds01.example.com:8089 \
  --new-ds-uri https://ds02.example.com:8089 \
  --staged-rollout-pct 10 \
  --admin-password-file /tmp/splunk_admin_password

What It Renders

Under splunk-deployment-server-rendered/ds/:

  • bootstrap/enable-deploy-server.sh — runs splunk enable deploy-server only through a pre-existing local Splunk CLI session. If no session exists, it fails closed with an interactive splunk login handoff; it never expands the password file into -auth.
  • bootstrap/deployment-apps-layout.md — documented etc/deployment-apps/ directory structure and bundle-hash behavior.
  • tuning/deploymentclient-scale.conf — recommended phoneHome intervals at 1k / 5k / 10k+ UF fleet sizes with rationale.
  • reload/reload-deploy-server.sh — POST /services/deployment/server/_reload via the REST API (no restart required).
  • ha/{haproxy.cfg, lb-aws-target-group.json, dns-record-template.txt, sync-deployment-apps.sh} — HA pair recipes.
  • inspect/{inspect-fleet.sh, client-drift-report.py} — live client check-in lag, app version drift, unenrolled client detection.
  • migrate/{retarget-clients.sh, staged-rollout.sh} — mass targetUri update scripts with a configurable percentage-per-wave guard.
  • runbook-failure-modes.md — 503 flood, app version drift, unenrolled client, cascading-DS workaround.
  • validate.sh — REST-round-trip health check, client count sanity.
  • handoffs/{agent-management.txt, monitoring-console.txt}.
  • preflight-report.md — DS role status, serverclass.conf syntax check, deployment-apps directory existence.

Phases

PhasePurpose
renderProduce all config and script assets; no live changes.
preflightCheck DS role, etc/deployment-apps/ layout, serverclass.conf parse.
bootstrapEnable the DS role and validate the initial config.
reloadPOST _reload to pick up serverclass.conf changes without restart.
inspectFetch client list, lag, app version drift; write fleet-report.json.
ha-pairRender and (optionally apply) HA pair LB config + sync scripts.
migrate-clientsRender the reviewed mass-client targetUri migration handoff; exits nonzero because inventory/transport targets are not part of this skill.
statusLive GET /services/deployment/server/clients snapshot.
validateStatic + (with --live) REST health check.

phoneHome Tuning

Fleet sizeRecommended phoneHomeIntervalInSecsNotes
< 1,000 UFs60 (default)Default is fine
1,000–5,000 UFs120–180Reduce DS CPU/network I/O
5,000–10,000 UFs300Dedicated DS host required
> 10,000 UFs600DS HA pair behind LB; dedicated host

All values are set in $SPLUNK_HOME/etc/apps/system/local/deploymentclient.conf (or via a bootstrap app pushed from the DS itself). The renderer emits a commented deploymentclient.conf snippet with the recommended value based on --fleet-size input.

Companion knobs:

  • handshakeRetryIntervalInSecs — how often a client retries if the DS is unreachable (default 30 s; increase to 60–120 s for large fleets).
  • maxNumberOfClientApps — maximum apps a single client can receive (default 100; increase if server classes assign more than 100 apps per host).

REST Inspection

Key endpoints (all authenticated as DS admin):

EndpointMethodPurpose
/services/deployment/server/clientsGETList enrolled clients, last check-in, app versions
/services/deployment/server/serverclassesGETList defined server classes and member filters
/services/deployment/server/applications/localGETList deployed apps
/services/deployment/server/_reloadPOSTReload serverclass.conf without restart
/services/server/infoGETLB health check endpoint (200 = alive)

The rendered inspect-fleet.sh consolidates the first three into a single report sorted by check-in lag, with a drift flag for clients where any app hash differs from the DS-side hash.

Large-Fleet HA

Two DS instances behind a load balancer:

  1. Both instances have identical etc/deployment-apps/ trees. Use ha/sync-deployment-apps.sh (rsync-based) or a Git pull hook.
  2. Both instances have identical serverclass.conf. Use the same rsync script or deploy from a Git repo.
  3. LB health check: GET /services/server/info (HTTP 200 = healthy). The rendered ha/haproxy.cfg sets a 5 s interval, 2 s timeout, and 3 consecutive failures before marking a backend down.
  4. Clients point to the LB URI. Do NOT use DNS round-robin (clients cache DNS and do not failover quickly within phoneHomeIntervalInSecs).
  5. If one DS fails, clients retry the LB on the next phoneHomeIntervalInSecs tick. No manual client intervention needed.

AWS ELB alternative: ha/lb-aws-target-group.json renders an NLB target group JSON with the same health check configuration.

Anti-Pattern Guards

Cascading DS (DS feeding DS) — NOT SUPPORTED. Splunk does not support DS chains. The renderer refuses without --accept-cascading-ds-workaround and emits the documented workaround (dual-tier server classes or Git-based sync).

SHC deployer as DS for UFs — REFUSED. The SHC deployer (splunk enable shcluster-deployer) is for SHC bundle management only. The renderer emits a FAIL if the spec sets the DS host to a known SHC deployer.

filterType default change. Splunk Enterprise 9.4.3+ changed the implicit app-level filterType default from blacklist to whitelist. The renderer always emits filterType = whitelist (or blacklist) explicitly, regardless of version, to avoid upgrade surprises. This aligns with splunk-agent-management-setup.

Client Migration

Mass migration (moving all clients from DS1 to DS2):

  1. Render the new targetUri deploymentclient.conf snippet on DS2.
  2. Push the snippet as a deployment app from DS1 pointing to DS2. This self- migrates clients on their next phoneHome check-in.
  3. Use migrate/staged-rollout.sh to roll the migration wave by wave (default 10% of clients per wave with a configurable dwell time).
  4. Monitor DS2 inspect-fleet.sh to confirm clients arrive.
  5. Decommission DS1 after all clients are enrolled on DS2.

Alternatively, update targetUri centrally via configuration management (Ansible, Chef, Puppet) and trigger splunk reload deploy-client on each host.

Failure Mode Runbooks

See runbook-failure-modes.md in the rendered tree:

  • 503 flood on DS: too many clients phoning home simultaneously; increase phoneHomeIntervalInSecs, add memory, or move to HA pair.
  • App version drift: client has a stale app hash; DS has updated; normal re-deploy on next phoneHome unless a deployment-apps rsync is broken.
  • Unenrolled client: client enrolled but not appearing in client list; check targetUri in deploymentclient.conf, firewall on port 8089, and deploymentclient.log for errors.
  • Cascading DS workaround: see runbook-failure-modes.md section.

Hand-off Contracts

  • splunk-agent-management-setup — authors serverclass.conf and deploymentclient.conf. This skill calls setup.sh --phase reload after AM pushes a new server class to pick it up without a DS restart.
  • splunk-universal-forwarder-setup — installs and enrolls the UF binary; sets targetUri in deploymentclient.conf.
  • splunk-monitoring-console-setup — DS health dashboard and fleet monitoring.
  • splunk-platform-restart-orchestrator — if a full DS restart is needed (e.g., after a Splunk upgrade).
  • handoffs/agent-management.txt carries the AM skill invocation for server-class authoring.
  • handoffs/monitoring-console.txt carries the MC skill invocation for fleet visibility.

Out of Scope

  • serverclass.conf and deploymentclient.conf authoring — owned by splunk-agent-management-setup.
  • UF binary install / upgrade — owned by splunk-universal-forwarder-setup.
  • Splunk Cloud Agent Management — Splunk-managed cloud DS workflows are out of scope. This skill targets self-managed Splunk Enterprise deployments only.
  • DS-to-DS federation (cascading DS) — not supported by Splunk; refused at render time without explicit --accept-cascading-ds-workaround.

Validation

Static validation:

bash
bash skills/splunk-deployment-server-setup/scripts/validate.sh \
  --output-dir splunk-deployment-server-rendered

Live validation:

bash
bash skills/splunk-deployment-server-setup/scripts/validate.sh \
  --output-dir splunk-deployment-server-rendered \
  --live \
  --ds-uri https://ds01.example.com:8089 \
  --admin-password-file /tmp/splunk_admin_password

Live checks: GET /services/deployment/server/clients round-trip, enrolled client count, last-check-in lag distribution.

See reference.md and template.example.

Mitgelieferte Dateien

Das Modell liest diese Dateien bei Bedarf, während der Skill geladen ist. Sie werden als lesbare Dateien bereitgestellt und niemals ausgeführt.

Häufig gestellte Fragen

Was macht der KI-Skill Splunk Deployment Server Setup?

Use when the user asks to bootstrap a deployment server, tune Universal Forwarder phoneHome intervals, inspect enrolled clients, set up DS high availability, migrate clients to a new DS, scale to 5000+ forwarders, or diagnose DS runtime health. Hand off serverclass.conf and deploymentclient.conf authoring to splunk-agent-management-setup. Render, preflight, bootstrap, validate, and operate the Splunk Enterprise Deployment Server runtime: enable-deploy-server bootstrap, deployment-app layout checks, phoneHome tuning, REST inspection, large-fleet HA pairing, client re-enrollment, staged rollo...

Warum Splunk Deployment Server Setup in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Splunk Deployment Server Setup besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Splunk Deployment Server Setup in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/chambear2809/splunk-cisco-skills/tree/main/skills/splunk-deployment-server-setup ein. TypingMind liest die Datei SKILL.md, bündelt die zugehörigen Dateien und installiert alles als Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Splunk Deployment Server Setup nutzen?

Jedes Modell, das Sie in TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Splunk Deployment Server Setup verwenden?

So viele Sie möchten. Solange ein Modell Skills unterstützt, können Sie Splunk Deployment Server Setup damit verwenden – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama und weitere – alles in TypingMind mit Ihren eigenen API-Schlüsseln.

Ist der KI-Skill Splunk Deployment Server Setup kostenlos?

Ja. Der Skill wird von chambear2809 auf GitHub unter der Lizenz Apache-2.0 veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: eine Datei namens SKILL.md mit einem Namen und einer Beschreibung sowie allen Skripten, Vorlagen oder Referenzdateien, die das Modell möglicherweise benötigt. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und benötigen daher weder Server noch API-Schlüssel oder Laufzeitumgebung. Sie funktionieren mit jedem Modell.

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇