Splunk Platform Restart Orchestrator
SkillDev tools"Use when the user asks to restart Splunk, avoid unnecessary restarts, recover from management API
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Splunk Platform Restart Orchestrator skill
What this skill tells your AI
The instructions your AI receives, as published by chambear2809/splunk-cisco-skills in skills/splunk-platform-restart-orchestrator/SKILL.md and read by ahel’s review.
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
- 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.
- Preview and review the splunk platform restart orchestrator 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 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
- Never ask for secrets in chat and never place secrets on argv or env prefixes.
- Default to
--plan-restart; actual restart requires--restart --accept-restart. - Do not kill Splunk processes automatically. Detect partial shutdown and render an operator handoff.
- Treat REST
/services/server/control/restartas explicit fallback only. - Use ACS for Splunk Cloud and restart only when
restartRequired=true. - Delegate indexer cluster peer restarts to
splunk-indexer-cluster-setup. - For SHC, use searchable rolling restart only when the change is eligible.
--validate-restart-pathand live--restartreturn nonzero when the plan resolves to a manual, indexer-cluster, SHC, or privilege handoff. The printed handoff is actionable guidance, not a successful restart.- Enterprise
--expected-portvalues are probed on target loopback after the 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
- Read
reference.mdwhen the task touches Cloud, systemd, clusters, or repo adoption. - Run
--plan-restartbefore any live restart unless another skill has already rendered a plan. - For reloadable paths, use
--reload ENDPOINT_OR_HINTor the skill-specific reload helper. - For repo work, run
--audit-repoand use the report to choose adoption targets. - 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:
platform_restart_or_exit <session_key> <uri> <operation> [skip_message]platform_restart_plan <operation> <target_role> <restart_mode>platform_reload_or_restart_guidance <change_description>platform_restart_handoff <operation> <reason>
Keep existing skill flags such as --no-restart compatible.
Signals
- GitHub stars
- 37
- Forks
- 8
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
splunk-platform-restart-orchestrator- Source
- github.com/chambear2809/splunk-cisco-skills