Skip to content

fix: Splunk metadata parsing logic#431

Closed
echipachenko wants to merge 0 commit intosplunk:developfrom
echipachenko:develop
Closed

fix: Splunk metadata parsing logic#431
echipachenko wants to merge 0 commit intosplunk:developfrom
echipachenko:develop

Conversation

@echipachenko
Copy link
Copy Markdown
Contributor

@echipachenko echipachenko commented Mar 18, 2025

Method get_conf_stanzas internally calls
$SPLUNK_HOME/bin/splunk cmd btool server list
This command leads to accumulated output. It reads server.conf files from all apps.
Such behaviour may lead to invalid results, if an app has different (not supported) format in the conf file.

I suggest to change login and read configs only from the system app:
$SPLUNK_HOME/bin/splunk cmd btool server list --app=system

@echipachenko echipachenko requested a review from a team as a code owner March 18, 2025 13:22
@artemrys artemrys changed the title fix splunk metadata parsing logic: config stanzas must be loaded from… fix: Splunk metadata parsing logic Mar 18, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant