Splunk platform restart orchestrator

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

Splunk platform restart orchestrator is an AI agent skill from the GitHub repository chambear2809/splunk-cisco-skills. Use when the user asks to restart Splunk, avoid unnecessary restarts, recover from management API restart trouble, review repo-wide restart handling, choose between REST/CLI/systemd/ACS restart paths, or validate that a Splunk app/config change has been activated. Plan, validate, audit, and safely e

How to use this skill

Skill file

Splunk Platform Restart Orchestrator

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

handling, choose between REST/CLI/systemd/ACS restart paths, or validate that a Splunk app/config change has been

activated.

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-platform-restart-orchestrator/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-platform-restart-orchestrator/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 |

Use this skill whenever restart or reload handling is part of the task. It is a

guardrail skill: prefer reload or topology-aware restart paths, and refuse to

hide a risky restart behind a generic REST call.

Guardrails

an operator handoff.

resolves to a manual, indexer-cluster, SHC, or privilege handoff. The printed

handoff is actionable guidance, not a successful restart.

management API recovers. Cloud rejects that option before restart because

ACS cannot provide a target-host listener probe.

Quick Start

Plan a restart:

bash skills/splunk-platform-restart-orchestrator/scripts/setup.sh \
  --plan-restart \
  --operation "app installation" \
  --target-role search-tier \
  --json

Execute an accepted Enterprise restart:

bash skills/splunk-platform-restart-orchestrator/scripts/setup.sh \
  --restart \
  --accept-restart \
  --operation "app installation"

Audit the repository:

bash skills/splunk-platform-restart-orchestrator/scripts/setup.sh --audit-repo

Workflow

  1. Read reference.md when the task touches Cloud, systemd, clusters, or repo

adoption.

  1. Run --plan-restart before any live restart unless another skill has already

rendered a plan.

  1. For reloadable paths, use --reload ENDPOINT_OR_HINT or the skill-specific

reload helper.

  1. For repo work, run --audit-repo and use the report to choose adoption

targets.

  1. Validate after restart with management API readiness and any expected data or

listener probes.

Shared Helper

Existing skills should call the shared helpers loaded by

skills/shared/lib/credential_helpers.sh:

Keep existing skill flags such as --no-restart compatible.

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.