Skip to content

fix: Splunk metadata parsing logic: config stanzas must be loaded from the system app #432

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

echipachenko
Copy link
Contributor

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 14:28
@artemrys artemrys changed the title fix splunk metadata parsing logic: config stanzas must be loaded from the system app fix: Splunk metadata parsing logic: config stanzas must be loaded from the system app Mar 18, 2025
@artemrys artemrys merged commit 1a5ee99 into splunk:develop Mar 18, 2025
17 of 19 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2025
@srv-rr-github-token
Copy link
Contributor

🎉 This PR is included in version 6.2.1-beta.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@srv-rr-github-token
Copy link
Contributor

🎉 This PR is included in version 6.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants