Skip to content

Make URLHostParserBuilder support a basepath setting#7700

Merged
andrewkroh merged 1 commit intoelastic:masterfrom
ycombinator:metricbeat/host-parser/support-basepaths
Jul 24, 2018
Merged

Make URLHostParserBuilder support a basepath setting#7700
andrewkroh merged 1 commit intoelastic:masterfrom
ycombinator:metricbeat/host-parser/support-basepaths

Conversation

@ycombinator
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

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

@andrewkroh
Copy link
Copy Markdown
Member

@ycombinator
Copy link
Copy Markdown
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