Splunk Deployment Server ↔ Docker Splunk: Resolving Configuration Precedence Conflicts
21K reputation · 02 Oct 2024, 12:04 UTC
Goal: Ensure that app configurations pushed from a Splunk Deployment Server to a Docker‑based Splunk Enterprise instance are applied predictably when the same setting is defined both in a mounted app’s local/ directory and via a Docker‑passed environment variable.
Constraints arise from Splunk’s configuration precedence (local > default) combined with environment‑variable overrides such as SPLUNK_START_ARGS, and from the Deployment Server’s phonehome interval which controls when a newly built image receives the latest app bundle. The interaction of these mechanisms can lead to uncertainty about which value ultimately takes effect and how quickly changes become visible in CI pipelines.
Which configuration source takes precedence when a mounted app’s local/app.conf and a Docker environment variable define the same setting?
How does adjusting the Deployment Server phonehome interval influence the delay between pushing a new app bundle and its appearance inside the container?