A salt formula for setting up and maintaining Splunk Enterprise on RHEL or Debian based systems.
Configure clustered deployments as well as single standalone deployments using this formula.
Deploy splunk apps and orchestrate reboots required by OS patching, which can be used seperately.
All your logs our belong to splunk but everything tastes better with a bit of salt.
Table of Contents
splunk-enterprise
splunk-enterprise.disable-thp
splunk-enterprise.splunk-kernel
splunk-enterprise.splunk-package
splunk-enterprise.splunk-user
splunk-enterprise.splunk-config
splunk-enterprise.splunk-cluster
splunk-enterprise.splunk-firewalld
splunk-enterprise.splunk-service
splunk-enterprise.splunk-passwd
splunk-enterprise.splunk-apps
splunk-enterprise.orch.orch-patch-and-reboot-member
Meta-state (This is a state that includes other states).
Installs splunk-enterprise and it's requirements, manages configuration files, and starts the service.
Setup and manage a service to disable transparent hugepages.
Setup resource limits, swappiness, max_mem count, disables ipv6, and manage tuned on RHEL based systems.
Install splunk package from a local or remote source and configure optional pip package installs
Manage splunk user account and configure sudoer configuration that allows splunk to start/stop/restart the Splunkd.service.
Manage configuration files for splunk.
Manage configuration files for splunk clustering. This supports indexer clusters as well as search head clusters.
Manage firewalld service on RHEL systems. Currently only disables the service
Finalize splunk install by enabling boot-start, setting default permissions, and manage the splunk service on RHEL/Debian systems.
Update the splunk admin password during setup but also can be called directly.
Only run this on the deployment server. Manage splunkbase apps and/or custom apps using a versioned deployment system.
This state runs an orchestration to patch and reboot splunk clustered nodes. Call this with salt-run state.orchestrate splunk-enterprise.orch.orch-patch-and-reboot-member