Skip to content

Conversation

@ycombinator
Copy link
Contributor

This PR adds a helper method for generating monitoring index names for a given product (Elasticsearch, Kibana, etc.).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there some way to look up metricbeat's major version at runtime? Then we can remove this hardcoding here. Otherwise we'll have to remember to update it manually every major release.

Copy link
Contributor

Choose a reason for hiding this comment

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

It is part of the beat.Infotype but it's not global :-( Let's hard code it for now but add a TODO / note here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this license (and the one in xpack.go) the right one to use?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes

Copy link
Contributor

Choose a reason for hiding this comment

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

It is part of the beat.Infotype but it's not global :-( Let's hard code it for now but add a TODO / note here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes

@ruflin ruflin merged commit 5344049 into elastic:master Jul 13, 2018
@ycombinator ycombinator added needs_backport PR is waiting to be backported to other branches. v6.4.0 labels Jul 13, 2018
@ycombinator ycombinator deleted the xpack/monitoring/index-naming branch July 13, 2018 15:42
@ycombinator ycombinator removed the needs_backport PR is waiting to be backported to other branches. label Jul 13, 2018
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.

2 participants