Skip to content
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

Make URLHostParserBuilder support a basepath setting #7700

Merged
merged 1 commit into from
Jul 24, 2018
Merged

Make URLHostParserBuilder support a basepath setting #7700

merged 1 commit into from
Jul 24, 2018

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Jul 24, 2018

This will allow modules using URLHostParserBuilder to support a setting named "basepath" in their configuration. If users set this setting to some value, the value will be inserted into the HTTP URI as the first path segment.

Replaces #7682.

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I would mention the basepath setting in the changelog under Added/Metricbeat.

Also can you check to see if there is documentation for the http based metricsets where we can add basepath.

@ycombinator
Copy link
Contributor Author

Done and done @andrewkroh. Also squashed commits into single one.

@andrewkroh
Copy link
Member

@ycombinator
Copy link
Contributor Author

Aha, didn't know about that doc. Thanks @andrewkroh! Added.

This will allow modules using URLHostParserBuilder to support a setting named "basepath" in their configuration. If users set this setting to some value, the value will be inserted into the HTTP URI as the first path segment.
@andrewkroh andrewkroh merged commit 4a0c511 into elastic:master Jul 24, 2018
@ycombinator ycombinator deleted the metricbeat/host-parser/support-basepaths branch December 25, 2019 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants