From architecture diagram to running Splunk cluster in less than an hour. Splunk Platform Automator turns a single YAML file into a fully built, best-practice Splunk Enterprise environment: indexer clusters, multisite, search head clusters, forwarders, and the works. No hand-built hosts, no copy-pasting
.conffiles, no guessing at the bootstrap order.
SPA provisions and configures Splunk Enterprise—clustering, apps, AWS, VirtualBox, or existing hosts (external provider)—from testing and training through staging and production. One config file, one CLI: spa. The install follows Splunk best-practice config apps. There are many valid conf layouts; this is one automated path.
Splunk Platform Automator is the deployment engine for the Splunk Enterprise topologies you designed. Describe the environment once, then let SPA build it the same way every time.
- One file, the whole environment. Describe your topology in
splunk_config.ymland let SPA handle the rest: hosts, cluster bootstrap, and apps. - Ready-made topologies. Examples cover single-node through multisite search head clusters with Enterprise Security, so you start from a tested layout instead of a blank page.
- Your choice of infrastructure. Provision on AWS with Terraform, spin up local VirtualBox VMs, or deploy onto hosts you already have.
- Best practices built in. Base configuration apps, secrets from environment lookups or Ansible Vault, and validation before anything is deployed.
- Agent-ready.
spa skills install cursorlinks the/spa,
/spa-create-config, and/spa-appsskills into Cursor, so an agent can
design, validate, and deploy an environment with you, waiting for your yes at
each step.
This framework is not officially supported by Splunk. It is developed on a best-effort basis.
- Multiple environments:
spa environment list,init,set, andremovekeep each lab or deployment in its own directory, with a default you can change. - Guided config editing:
spa config set|add|unset|move|merge|migrate|topology|providerandspa apps add|removemake schema-checked edits with dry-run support, so you don't hand-editsplunk_config.yml.spa config searchandspa config explainlook up any setting. - Architecture files:
spa init --architecture FILEscaffolds from a confirmed Splunk Validated Architecture plan.spa architecture plan,apply, andcheckoverlay counts, replication and search factors, and extra roles. - Preflight checks:
spa validatechecks the config, inventory, and license pairings.spa doctorchecks host tools and the Software directory (Enterprise and UF tarballs, PS baseconfigs, licenses). A missing environment variable stops the run before anything changes. - License catalog:
spa licenses add FILE --yescopies a license into Software;spa licenses listshows files, expiration, and ITSI/ES entitlements for config. - Lifecycle control:
spa suspendandspa resumestop and start instances to save cost, andspa destroyremoves the environment. Changing commands require an explicit--yes. - Run logs: provision, deploy, and run write a log under the environment's
logs/folder.spa logsreplays any run, and live progress shows each step as it happens. - Playbook catalog:
spa run listshows the shipped playbooks, including rolling upgrades for indexer and search head clusters, plus your own.spa run NAME --helpdescribes each one. - Verification: verification playbooks confirm that deployed apps match the config.
- Splunkbase and ITSI discovery:
spa apps searchfinds apps,spa apps snippetgenerates the config entry, andspa apps content-packs list 5391lists ITSI content packs and the command to add each one. - Existing hosts:
spa init --provider externalwithspa hosts registermanages machines you already run. SPA does not create, stop, or terminate them. - Host access:
spa hosts list --status,spa hosts ssh, andspa hosts copywork with the hosts in your environment. - Shell completion:
spa completion bashandspa completion zshadd tab completion for commands, flags, and config paths. - Sizing guidance: the
/spa-create-configskill maps Splunk Validated Architectures to topologies and sizes replication and search factors. - Platform coverage: Splunk 9 and 10 on Amazon Linux 2023, RHEL 10, and Ubuntu 24.04, on amd64 or arm64, with optional FIPS mode.
Requires Python 3.9+ with the venv module (python3 on PATH). The installer creates a virtualenv and fails if that interpreter is missing or too old.
curl -fsSL https://github.com/splunk/splunk-platform-automator/releases/latest/download/install.sh | sh
spa skills install cursorThat installs the latest GitHub Release into ~/.local/share/spa and puts spa on PATH via ~/.local/bin/spa. Add ~/.local/bin to PATH if spa is not found. Flags, uninstall, and clone/develop: docs/install.md. Put Splunk installers and PS baseconfig apps in a shared Software/ directory (Prepare Software).
First lab: quick start (install, Software, one provider, then spa init --example single_node --provider PROVIDER).
Employee-only CCM: --provider ccm. See CCM.
Existing servers: spa init --example TOPOLOGY --provider external ENV, then spa hosts register NAME --ssh-host HOST --user USER --key PATH --yes.
| Audience | Link |
|---|---|
| First lab | docs/quick-start.md |
| Humans (and agents following examples) | docs/user-guide.md |
| CCM (employee-only) | docs/ccm.md |
| Command catalog (generated) | docs/commands.md · spa agent schema --markdown |
| Settings (generated) | docs/config.md · spa config schema --markdown |
| Contributors | docs/architecture.md · docs/contributing.md |
| Agents | AGENTS.md |
| Config keys / snippets | spa config explain · examples/catalog/features.yml |
| Roadmap | ROADMAP.md |
| Changelog | CHANGELOG.md |
| Releases | RELEASE.md |
| Tests | tests/README.md · ./tests/run_local_tests.sh |
© 2026 Splunk Inc. All rights reserved.
Licensed under the Apache License, Version 2.0. See LICENSE and http://www.apache.org/licenses/LICENSE-2.0.
