-
Notifications
You must be signed in to change notification settings - Fork 176
Remove deprecated localhost debug config endpoint #6984
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
Changes from 9 commits
d039dfd
a97b5dc
4e15097
93b7358
871a973
e54ca64
1fec421
bac6ffc
b4ff39d
8c9771b
4dc8398
6dd5321
a5fdba6
10723f1
5e7d56e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
| change_type: breaking | ||
|
|
||
| # The name of the component, or a single word describing the area of concern, (e.g. crosslink) | ||
| component: configserver | ||
|
|
||
| # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
| note: Removed the deprecated localhost config endpoint (`http://localhost:55554/debug/configz`) and its related environment variables. | ||
|
|
||
| # One or more tracking issues related to the change | ||
| issues: [6984] | ||
|
|
||
| # (Optional) One or more lines of additional information to render under the primary note. | ||
| # These lines will be padded with 2 spaces and then inserted directly into the document. | ||
| # Use pipe (|) for multiline entries. | ||
| subtext: | | ||
| The collector's default configuration files enable the `zpages` extension and the respective `debug/expvarz` endpoint, | ||
| by default at `http://localhost:55679/debug/expvarz`. This endpoint provides a JSON map containing the collector | ||
| configuration details. The keys `splunk.config.initial` and `splunk.config.effective` within this map | ||
| hold, respectively, the initial and effective YAML configurations as strings. | ||
|
|
||
| To retrieve the configuration in YAML format using this endpoint, you can use the following commands: | ||
|
|
||
| On Windows Powershell 5.1: | ||
| ```powershell | ||
| (Invoke-WebRequest http://localhost:55679/debug/expvarz).Content | ConvertFrom-Json | Select-Object -ExpandProperty splunk.config.effective | ||
| ``` | ||
|
|
||
| On Bash (with `curl` and `jq`): | ||
| ```bash | ||
| curl http://localhost:55679/debug/expvarz --silent | jq -r '.["splunk.config.initial"]' | ||
| ``` | ||
|
|
||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are these
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes they are. Removal of the component triggered changes to go.mod, and those required the |
Uh oh!
There was an error while loading. Please reload this page.