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

Check validity of beat module configuration when xpack.enabled is set to true #12645

Merged
merged 42 commits into from
Jun 25, 2019
Merged

Check validity of beat module configuration when xpack.enabled is set to true #12645

merged 42 commits into from
Jun 25, 2019

Conversation

ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Jun 23, 2019

Similar to #12386 but for the beat module.

When the beat metricbeat module is enabled and the xpack.enabled flag in the module configuration is set to true, an exact set of metricsets is required to be configured for Stack Monitoring to work correctly. This PR implements the necessary validation.

@ycombinator ycombinator added needs_backport PR is waiting to be backported to other branches. v8.0.0 v7.3.0 labels Jun 23, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/stack-monitoring

@ycombinator ycombinator marked this pull request as ready for review June 25, 2019 12:06
@ycombinator ycombinator requested a review from a team as a code owner June 25, 2019 12:06
Copy link
Collaborator

@ruflin ruflin 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 assume it does not need a changelog as we didn't ship this yet.

"github.com/pkg/errors"

"github.com/elastic/beats/libbeat/common"

Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: newline

Copy link
Contributor

@cachedout cachedout left a comment

Choose a reason for hiding this comment

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

LGTM

@ycombinator ycombinator merged commit a33a8e1 into elastic:master Jun 25, 2019
@ycombinator ycombinator deleted the mb-beat-xpack-validation branch June 25, 2019 15:38
@ycombinator ycombinator removed the needs_backport PR is waiting to be backported to other branches. label Jan 15, 2020
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.

4 participants