Skip to content

splunk inputs configuration precedence - #117

Merged
omrozowicz-splunk merged 48 commits into
mainfrom
splunk-inputs-precedence-observer
Aug 31, 2026
Merged

splunk inputs configuration precedence#117
omrozowicz-splunk merged 48 commits into
mainfrom
splunk-inputs-precedence-observer

Conversation

@omrozowicz-splunk

@omrozowicz-splunk omrozowicz-splunk commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Add Splunk btool config precedence for splunk_inputs

  • splunk_inputs now auto-discovers all splunk_ta_* apps under $SPLUNK_HOME/etc/apps and applies standard Splunk config
    precedence: etc/system/default → TA default/ → TA local/etc/system/local
  • base_dir config field (or $SPLUNK_HOME env var) is now the Splunk installation root
  • inputs.conf params are merged per-key across layers — later layers only override keys they explicitly set
  • Unsupported input/output stanza kinds are skipped with an info log instead of returning an error
  • DiscoverTAs moved to tabuilder as the single source of truth for finding TA directories

…nce-observer

# Conflicts:
#	internal/conf/outputs.go
#	internal/tabuilder/tabuilder.go
#	internal/tabuilder/tabuilder_test.go
#	pkg/splunkinputsreceiver/go.mod
#	pkg/splunkinputsreceiver/go.sum
#	pkg/splunkinputsreceiver/receiver.go
@omrozowicz-splunk omrozowicz-splunk changed the title splunk inputs configuration precedence " folder observer splunk inputs configuration precedence Aug 26, 2026
@omrozowicz-splunk
omrozowicz-splunk marked this pull request as ready for review August 26, 2026 10:32
Comment thread internal/conf/inputs_test.go
Comment thread internal/conf/stanza.go Outdated
Comment thread internal/tabuilder/tabuilder.go
Comment thread pkg/splunkinputsreceiver/subreceiver.go
Comment thread pkg/splunkoutputsexporter/subexporter.go Outdated
@omrozowicz-splunk
omrozowicz-splunk merged commit 6d02c28 into main Aug 31, 2026
9 checks passed
@omrozowicz-splunk
omrozowicz-splunk deleted the splunk-inputs-precedence-observer branch August 31, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants